Changeset 31c8179 in freewrt
- Timestamp:
- Dec 18, 2006, 11:32:43 PM (19 years ago)
- Children:
- 60bcca8
- Parents:
- 495b814
- Location:
- target/linux/rb-2.6
- Files:
-
- 9 edited
-
Makefile (modified) (1 diff)
-
nfs/config/config.nfs (modified) (32 diffs)
-
patches/100-rb5xx_support.patch (modified) (41 diffs)
-
patches/110-korina_ethernet.patch (modified) (3 diffs)
-
patches/120-cf.patch (modified) (6 diffs)
-
patches/130-rbmipsnand.patch (modified) (3 diffs)
-
patches/140-yaffs2.patch (modified) (39 diffs)
-
patches/141-yaffs2-checkpointoption.patch (modified) (3 diffs)
-
patches/200-diag.patch (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
target/linux/rb-2.6/Makefile
r495b814 r31c8179 7 7 include $(TOPDIR)/rules.mk 8 8 9 LINUX_VERSION:=2.6.1 8.29 LINUX_VERSION:=2.6.19.1 10 10 LINUX_RELEASE:=1 11 LINUX_KERNEL_MD5SUM:= a93293f01307c47589ebdcafea311c6611 LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be 12 12 13 13 include $(TOPDIR)/mk/kernel.mk -
target/linux/rb-2.6/nfs/config/config.nfs
r495b814 r31c8179 1 1 # 2 2 # Automatically generated make config: don't edit 3 # Linux kernel version: 2.6.1 8.24 # Mon Dec 1 1 17:51:2120063 # Linux kernel version: 2.6.19.1 4 # Mon Dec 18 23:04:40 2006 5 5 # 6 6 CONFIG_MIPS=y … … 26 26 # CONFIG_MACH_DECSTATION is not set 27 27 # CONFIG_MIPS_EV64120 is not set 28 # CONFIG_MIPS_EV96100 is not set29 # CONFIG_MIPS_IVR is not set30 # CONFIG_MIPS_ITE8172 is not set31 28 # CONFIG_MACH_JAZZ is not set 32 29 # CONFIG_LASAT is not set … … 70 67 CONFIG_GENERIC_HWEIGHT=y 71 68 CONFIG_GENERIC_CALIBRATE_DELAY=y 69 CONFIG_GENERIC_TIME=y 72 70 CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y 73 71 CONFIG_DMA_NONCOHERENT=y … … 119 117 CONFIG_CPU_HAS_PREFETCH=y 120 118 CONFIG_MIPS_MT_DISABLED=y 119 # CONFIG_MIPS_MT_SMP is not set 121 120 # CONFIG_MIPS_MT_SMTC is not set 122 # CONFIG_MIPS_MT_SMP is not set123 121 # CONFIG_MIPS_VPE_LOADER is not set 124 122 # CONFIG_64BIT_PHYS_ADDR is not set … … 150 148 # CONFIG_PREEMPT_VOLUNTARY is not set 151 149 # CONFIG_PREEMPT is not set 150 CONFIG_LOCKDEP_SUPPORT=y 151 CONFIG_STACKTRACE_SUPPORT=y 152 152 CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 153 153 … … 166 166 CONFIG_SWAP=y 167 167 CONFIG_SYSVIPC=y 168 # CONFIG_IPC_NS is not set 168 169 CONFIG_POSIX_MQUEUE=y 169 170 # CONFIG_BSD_PROCESS_ACCT is not set 170 171 # CONFIG_TASKSTATS is not set 172 # CONFIG_UTS_NS is not set 171 173 # CONFIG_AUDIT is not set 172 174 CONFIG_IKCONFIG=y … … 175 177 CONFIG_INITRAMFS_SOURCE="" 176 178 CONFIG_CC_OPTIMIZE_FOR_SIZE=y 179 CONFIG_SYSCTL=y 177 180 CONFIG_EMBEDDED=y 178 CONFIG_SYSCTL =y181 CONFIG_SYSCTL_SYSCALL=y 179 182 # CONFIG_KALLSYMS is not set 180 183 CONFIG_HOTPLUG=y … … 206 209 # Block layer 207 210 # 211 CONFIG_BLOCK=y 208 212 # CONFIG_LBD is not set 209 213 # CONFIG_BLK_DEV_IO_TRACE is not set … … 279 283 CONFIG_XFRM=y 280 284 # CONFIG_XFRM_USER is not set 285 # CONFIG_XFRM_SUB_POLICY is not set 281 286 # CONFIG_NET_KEY is not set 282 287 CONFIG_INET=y … … 308 313 # CONFIG_INET_XFRM_MODE_TRANSPORT is not set 309 314 # CONFIG_INET_XFRM_MODE_TUNNEL is not set 315 CONFIG_INET_XFRM_MODE_BEET=m 310 316 # CONFIG_INET_DIAG is not set 311 317 # CONFIG_TCP_CONG_ADVANCED is not set 312 CONFIG_TCP_CONG_BIC=y 318 CONFIG_TCP_CONG_CUBIC=y 319 CONFIG_DEFAULT_TCP_CONG="cubic" 313 320 314 321 # … … 352 359 CONFIG_INET6_ESP=m 353 360 CONFIG_INET6_IPCOMP=m 361 # CONFIG_IPV6_MIP6 is not set 354 362 CONFIG_INET6_XFRM_TUNNEL=m 355 363 CONFIG_INET6_TUNNEL=m 356 364 CONFIG_INET6_XFRM_MODE_TRANSPORT=m 357 365 CONFIG_INET6_XFRM_MODE_TUNNEL=m 366 CONFIG_INET6_XFRM_MODE_BEET=m 367 CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=m 368 CONFIG_IPV6_SIT=m 358 369 CONFIG_IPV6_TUNNEL=m 370 # CONFIG_IPV6_MULTIPLE_TABLES is not set 359 371 # CONFIG_NETWORK_SECMARK is not set 360 372 CONFIG_NETFILTER=y … … 371 383 CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m 372 384 CONFIG_NETFILTER_XT_TARGET_CONNMARK=m 385 CONFIG_NETFILTER_XT_TARGET_DSCP=m 373 386 CONFIG_NETFILTER_XT_TARGET_MARK=m 374 387 CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m … … 379 392 CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m 380 393 CONFIG_NETFILTER_XT_MATCH_DCCP=m 394 CONFIG_NETFILTER_XT_MATCH_DSCP=m 381 395 CONFIG_NETFILTER_XT_MATCH_ESP=m 382 396 CONFIG_NETFILTER_XT_MATCH_HELPER=m … … 420 434 CONFIG_IP_NF_MATCH_RECENT=m 421 435 CONFIG_IP_NF_MATCH_ECN=m 422 CONFIG_IP_NF_MATCH_DSCP=m423 436 CONFIG_IP_NF_MATCH_AH=m 424 437 CONFIG_IP_NF_MATCH_TTL=m … … 448 461 CONFIG_IP_NF_TARGET_TOS=m 449 462 CONFIG_IP_NF_TARGET_ECN=m 450 CONFIG_IP_NF_TARGET_DSCP=m451 463 CONFIG_IP_NF_TARGET_TTL=m 452 464 CONFIG_IP_NF_TARGET_CLUSTERIP=m … … 592 604 # CONFIG_IEEE80211 is not set 593 605 CONFIG_WIRELESS_EXT=y 606 CONFIG_FIB_RULES=y 594 607 595 608 # … … 629 642 # CONFIG_INFTL is not set 630 643 # CONFIG_RFD_FTL is not set 644 # CONFIG_SSFDC is not set 631 645 632 646 # … … 727 741 728 742 # 743 # Misc devices 744 # 745 # CONFIG_SGI_IOC4 is not set 746 # CONFIG_TIFM_CORE is not set 747 CONFIG_RB_DIAG=y 748 749 # 729 750 # ATA/ATAPI/MFM/RLL support 730 751 # … … 736 757 # CONFIG_RAID_ATTRS is not set 737 758 # CONFIG_SCSI is not set 759 # CONFIG_SCSI_NETLINK is not set 760 761 # 762 # Serial ATA (prod) and Parallel ATA (experimental) drivers 763 # 764 # CONFIG_ATA is not set 738 765 739 766 # … … 834 861 # CONFIG_TIGON3 is not set 835 862 # CONFIG_BNX2 is not set 863 # CONFIG_QLA3XXX is not set 836 864 837 865 # … … 914 942 # CONFIG_PPP is not set 915 943 # CONFIG_SLIP is not set 944 CONFIG_SLHC=m 916 945 # CONFIG_SHAPER is not set 917 946 # CONFIG_NETCONSOLE is not set … … 982 1011 # CONFIG_HISAX_W6692 is not set 983 1012 # CONFIG_HISAX_HFC_SX is not set 984 # CONFIG_HISAX_ENTERNOW_PCI is not set985 1013 # CONFIG_HISAX_DEBUG is not set 986 1014 … … 1098 1126 # 1099 1127 # CONFIG_TCG_TPM is not set 1100 # CONFIG_TELCLOCK is not set1101 1128 1102 1129 # … … 1114 1141 # Dallas's 1-wire bus 1115 1142 # 1143 # CONFIG_W1 is not set 1116 1144 1117 1145 # … … 1122 1150 1123 1151 # 1124 # Misc devices1125 #1126 CONFIG_RB_DIAG=y1127 1128 #1129 1152 # Multimedia devices 1130 1153 # 1131 1154 # CONFIG_VIDEO_DEV is not set 1132 CONFIG_VIDEO_V4L2=y1133 1155 1134 1156 # … … 1219 1241 CONFIG_EXT3_FS=m 1220 1242 # CONFIG_EXT3_FS_XATTR is not set 1243 CONFIG_EXT4DEV_FS=m 1244 # CONFIG_EXT4DEV_FS_XATTR is not set 1221 1245 CONFIG_JBD=m 1222 1246 # CONFIG_JBD_DEBUG is not set 1247 CONFIG_JBD2=m 1248 # CONFIG_JBD2_DEBUG is not set 1223 1249 CONFIG_REISERFS_FS=m 1224 1250 # CONFIG_REISERFS_CHECK is not set … … 1236 1262 # CONFIG_XFS_POSIX_ACL is not set 1237 1263 # CONFIG_XFS_RT is not set 1264 # CONFIG_GFS2_FS is not set 1238 1265 # CONFIG_OCFS2_FS is not set 1239 1266 CONFIG_MINIX_FS=m … … 1274 1301 CONFIG_PROC_FS=y 1275 1302 # CONFIG_PROC_KCORE is not set 1303 CONFIG_PROC_SYSCTL=y 1276 1304 CONFIG_SYSFS=y 1277 1305 CONFIG_TMPFS=y 1306 # CONFIG_TMPFS_POSIX_ACL is not set 1278 1307 # CONFIG_HUGETLB_PAGE is not set 1279 1308 CONFIG_RAMFS=y … … 1413 1442 CONFIG_TRACE_IRQFLAGS_SUPPORT=y 1414 1443 # CONFIG_PRINTK_TIME is not set 1444 # CONFIG_ENABLE_MUST_CHECK is not set 1415 1445 # CONFIG_MAGIC_SYSRQ is not set 1416 1446 # CONFIG_UNUSED_SYMBOLS is not set … … 1418 1448 CONFIG_LOG_BUF_SHIFT=14 1419 1449 # CONFIG_DEBUG_FS is not set 1450 # CONFIG_HEADERS_CHECK is not set 1420 1451 CONFIG_CROSSCOMPILE=y 1421 1452 CONFIG_CMDLINE="init=/etc/preinit root=/dev/nfs ip=dhcp" … … 1431 1462 # 1432 1463 CONFIG_CRYPTO=y 1464 CONFIG_CRYPTO_ALGAPI=y 1465 CONFIG_CRYPTO_BLKCIPHER=y 1466 CONFIG_CRYPTO_HASH=y 1467 CONFIG_CRYPTO_MANAGER=y 1433 1468 CONFIG_CRYPTO_HMAC=y 1434 1469 # CONFIG_CRYPTO_NULL is not set … … 1440 1475 # CONFIG_CRYPTO_WP512 is not set 1441 1476 # CONFIG_CRYPTO_TGR192 is not set 1477 # CONFIG_CRYPTO_ECB is not set 1478 CONFIG_CRYPTO_CBC=y 1442 1479 CONFIG_CRYPTO_DES=y 1443 1480 # CONFIG_CRYPTO_BLOWFISH is not set -
target/linux/rb-2.6/patches/100-rb5xx_support.patch
r495b814 r31c8179 1 diff -Naurp linux-2.6.1 8.2/arch/mips/Kconfig linux-2.6.18.2.patched/arch/mips/Kconfig2 --- linux-2.6.1 8.2/arch/mips/Kconfig 2006-11-04 02:33:58.000000000 +01003 +++ linux-2.6.1 8.2.patched/arch/mips/Kconfig 2006-12-18 17:16:35.000000000 +01004 @@ -7 82,6 +782,19 @@ config TOSHIBA_JMR39271 diff -Naurp linux-2.6.19.1/arch/mips/Kconfig linux-2.6.19.1.patched/arch/mips/Kconfig 2 --- linux-2.6.19.1/arch/mips/Kconfig 2006-12-11 20:32:53.000000000 +0100 3 +++ linux-2.6.19.1.patched/arch/mips/Kconfig 2006-12-18 22:36:01.000000000 +0100 4 @@ -728,6 +728,19 @@ config TOSHIBA_JMR3927 5 5 select SYS_SUPPORTS_BIG_ENDIAN 6 6 select TOSHIBA_BOARDS … … 22 22 bool "Toshiba TBTX49[23]7 board" 23 23 select DMA_NONCOHERENT 24 @@ -10 73,7 +1086,7 @@ config BOOT_ELF3224 @@ -1015,7 +1028,7 @@ config BOOT_ELF32 25 25 26 26 config MIPS_L1_CACHE_SHIFT … … 31 31 default "5" 32 32 33 diff -Naurp linux-2.6.1 8.2/arch/mips/Makefile linux-2.6.18.2.patched/arch/mips/Makefile34 --- linux-2.6.1 8.2/arch/mips/Makefile 2006-11-04 02:33:58.000000000 +010035 +++ linux-2.6.1 8.2.patched/arch/mips/Makefile 2006-12-18 17:16:35.000000000 +010036 @@ -5 94,6 +594,13 @@ cflags-$(CONFIG_TOSHIBA_JMR3927) += -Iin33 diff -Naurp linux-2.6.19.1/arch/mips/Makefile linux-2.6.19.1.patched/arch/mips/Makefile 34 --- linux-2.6.19.1/arch/mips/Makefile 2006-12-11 20:32:53.000000000 +0100 35 +++ linux-2.6.19.1.patched/arch/mips/Makefile 2006-12-18 22:36:01.000000000 +0100 36 @@ -586,6 +586,13 @@ cflags-$(CONFIG_TOSHIBA_JMR3927) += -Iin 37 37 load-$(CONFIG_TOSHIBA_JMR3927) += 0xffffffff80050000 38 38 … … 48 48 # Toshiba RBTX4937 board 49 49 # 50 diff -Naurp linux-2.6.1 8.2/arch/mips/mm/tlbex.c linux-2.6.18.2.patched/arch/mips/mm/tlbex.c51 --- linux-2.6.1 8.2/arch/mips/mm/tlbex.c 2006-11-04 02:33:58.000000000 +010052 +++ linux-2.6.1 8.2.patched/arch/mips/mm/tlbex.c 2006-12-18 17:16:35.000000000 +010053 @@ -87 2,7 +872,6 @@ static __init void build_tlb_write_entry50 diff -Naurp linux-2.6.19.1/arch/mips/mm/tlbex.c linux-2.6.19.1.patched/arch/mips/mm/tlbex.c 51 --- linux-2.6.19.1/arch/mips/mm/tlbex.c 2006-12-11 20:32:53.000000000 +0100 52 +++ linux-2.6.19.1.patched/arch/mips/mm/tlbex.c 2006-12-18 22:36:01.000000000 +0100 53 @@ -874,7 +874,6 @@ static __init void build_tlb_write_entry 54 54 case CPU_R10000: 55 55 case CPU_R12000: … … 59 59 case CPU_SB1A: 60 60 case CPU_4KSC: 61 @@ -90 0,6 +899,7 @@ static __init void build_tlb_write_entry61 @@ -902,6 +901,7 @@ static __init void build_tlb_write_entry 62 62 tlbw(p); 63 63 break; … … 67 67 case CPU_24K: 68 68 case CPU_34K: 69 diff -Naurp linux-2.6.1 8.2/arch/mips/pci/fixup-rc32434.c linux-2.6.18.2.patched/arch/mips/pci/fixup-rc32434.c70 --- linux-2.6.1 8.2/arch/mips/pci/fixup-rc32434.c 1970-01-01 01:00:00.000000000 +010071 +++ linux-2.6.1 8.2.patched/arch/mips/pci/fixup-rc32434.c 2006-12-18 17:16:35.000000000 +010069 diff -Naurp linux-2.6.19.1/arch/mips/pci/fixup-rc32434.c linux-2.6.19.1.patched/arch/mips/pci/fixup-rc32434.c 70 --- linux-2.6.19.1/arch/mips/pci/fixup-rc32434.c 1970-01-01 01:00:00.000000000 +0100 71 +++ linux-2.6.19.1.patched/arch/mips/pci/fixup-rc32434.c 2006-12-18 22:36:01.000000000 +0100 72 72 @@ -0,0 +1,60 @@ 73 73 +/* … … 131 131 + return 0; 132 132 +} 133 diff -Naurp linux-2.6.1 8.2/arch/mips/pci/Makefile linux-2.6.18.2.patched/arch/mips/pci/Makefile134 --- linux-2.6.1 8.2/arch/mips/pci/Makefile 2006-11-04 02:33:58.000000000 +0100135 +++ linux-2.6.1 8.2.patched/arch/mips/pci/Makefile 2006-12-18 17:16:35.000000000 +0100136 @@ -5 8,3 +58,4 @@ obj-$(CONFIG_TOSHIBA_RBTX4938) += fixup-133 diff -Naurp linux-2.6.19.1/arch/mips/pci/Makefile linux-2.6.19.1.patched/arch/mips/pci/Makefile 134 --- linux-2.6.19.1/arch/mips/pci/Makefile 2006-12-11 20:32:53.000000000 +0100 135 +++ linux-2.6.19.1.patched/arch/mips/pci/Makefile 2006-12-18 22:36:01.000000000 +0100 136 @@ -53,3 +53,4 @@ obj-$(CONFIG_TOSHIBA_RBTX4938) += fixup- 137 137 obj-$(CONFIG_VICTOR_MPC30X) += fixup-mpc30x.o 138 138 obj-$(CONFIG_ZAO_CAPCELLA) += fixup-capcella.o 139 139 obj-$(CONFIG_WR_PPMC) += fixup-wrppmc.o 140 140 +obj-$(CONFIG_MIKROTIK_RB500) += pci-rc32434.o ops-rc32434.o fixup-rc32434.o 141 diff -Naurp linux-2.6.1 8.2/arch/mips/pci/ops-rc32434.c linux-2.6.18.2.patched/arch/mips/pci/ops-rc32434.c142 --- linux-2.6.1 8.2/arch/mips/pci/ops-rc32434.c 1970-01-01 01:00:00.000000000 +0100143 +++ linux-2.6.1 8.2.patched/arch/mips/pci/ops-rc32434.c 2006-12-18 17:18:08.000000000 +0100141 diff -Naurp linux-2.6.19.1/arch/mips/pci/ops-rc32434.c linux-2.6.19.1.patched/arch/mips/pci/ops-rc32434.c 142 --- linux-2.6.19.1/arch/mips/pci/ops-rc32434.c 1970-01-01 01:00:00.000000000 +0100 143 +++ linux-2.6.19.1.patched/arch/mips/pci/ops-rc32434.c 2006-12-18 22:36:01.000000000 +0100 144 144 @@ -0,0 +1,202 @@ 145 145 +/************************************************************************** … … 345 345 + .write = pci_config_write, 346 346 +}; 347 diff -Naurp linux-2.6.1 8.2/arch/mips/pci/pci-rc32434.c linux-2.6.18.2.patched/arch/mips/pci/pci-rc32434.c348 --- linux-2.6.1 8.2/arch/mips/pci/pci-rc32434.c 1970-01-01 01:00:00.000000000 +0100349 +++ linux-2.6.1 8.2.patched/arch/mips/pci/pci-rc32434.c 2006-12-18 17:16:35.000000000 +0100347 diff -Naurp linux-2.6.19.1/arch/mips/pci/pci-rc32434.c linux-2.6.19.1.patched/arch/mips/pci/pci-rc32434.c 348 --- linux-2.6.19.1/arch/mips/pci/pci-rc32434.c 1970-01-01 01:00:00.000000000 +0100 349 +++ linux-2.6.19.1.patched/arch/mips/pci/pci-rc32434.c 2006-12-18 22:36:01.000000000 +0100 350 350 @@ -0,0 +1,226 @@ 351 351 +/************************************************************************** … … 575 575 + 576 576 +arch_initcall(rc32434_pci_init); 577 diff -Naurp linux-2.6.1 8.2/arch/mips/rb500/devices.c linux-2.6.18.2.patched/arch/mips/rb500/devices.c578 --- linux-2.6.1 8.2/arch/mips/rb500/devices.c 1970-01-01 01:00:00.000000000 +0100579 +++ linux-2.6.1 8.2.patched/arch/mips/rb500/devices.c 2006-12-18 17:16:35.000000000 +0100577 diff -Naurp linux-2.6.19.1/arch/mips/rb500/devices.c linux-2.6.19.1.patched/arch/mips/rb500/devices.c 578 --- linux-2.6.19.1/arch/mips/rb500/devices.c 1970-01-01 01:00:00.000000000 +0100 579 +++ linux-2.6.19.1.patched/arch/mips/rb500/devices.c 2006-12-18 22:36:01.000000000 +0100 580 580 @@ -0,0 +1,200 @@ 581 581 +#include <linux/kernel.h> … … 779 779 + 780 780 +#endif 781 diff -Naurp linux-2.6.1 8.2/arch/mips/rb500/early_serial.c linux-2.6.18.2.patched/arch/mips/rb500/early_serial.c782 --- linux-2.6.1 8.2/arch/mips/rb500/early_serial.c 1970-01-01 01:00:00.000000000 +0100783 +++ linux-2.6.1 8.2.patched/arch/mips/rb500/early_serial.c 2006-12-18 17:16:35.000000000 +0100781 diff -Naurp linux-2.6.19.1/arch/mips/rb500/early_serial.c linux-2.6.19.1.patched/arch/mips/rb500/early_serial.c 782 --- linux-2.6.19.1/arch/mips/rb500/early_serial.c 1970-01-01 01:00:00.000000000 +0100 783 +++ linux-2.6.19.1.patched/arch/mips/rb500/early_serial.c 2006-12-18 22:36:01.000000000 +0100 784 784 @@ -0,0 +1,198 @@ 785 785 +/************************************************************************** … … 981 981 + *(port + (UART_MCR << s)) = 0; 982 982 +} 983 diff -Naurp linux-2.6.1 8.2/arch/mips/rb500/irq.c linux-2.6.18.2.patched/arch/mips/rb500/irq.c984 --- linux-2.6.1 8.2/arch/mips/rb500/irq.c 1970-01-01 01:00:00.000000000 +0100985 +++ linux-2.6.1 8.2.patched/arch/mips/rb500/irq.c 2006-12-18 17:16:35.000000000 +0100983 diff -Naurp linux-2.6.19.1/arch/mips/rb500/irq.c linux-2.6.19.1.patched/arch/mips/rb500/irq.c 984 --- linux-2.6.19.1/arch/mips/rb500/irq.c 1970-01-01 01:00:00.000000000 +0100 985 +++ linux-2.6.19.1.patched/arch/mips/rb500/irq.c 2006-12-18 22:36:01.000000000 +0100 986 986 @@ -0,0 +1,270 @@ 987 987 +/* … … 1236 1236 + 1237 1237 +/* Main Interrupt dispatcher */ 1238 +asmlinkage void plat_irq_dispatch( struct pt_regs *regs)1238 +asmlinkage void plat_irq_dispatch(void) 1239 1239 +{ 1240 1240 + unsigned int ip, pend, group; … … 1243 1243 + 1244 1244 + if (cp0_cause & CAUSEF_IP7) { 1245 + ll_timer_interrupt(7 , regs);1245 + ll_timer_interrupt(7); 1246 1246 + } else if ((ip = (cp0_cause & 0x7c00))) { 1247 1247 + group = 21 - rc32434_clz(ip); … … 1252 1252 + pend &= ~READ_MASK(addr); // only unmasked interrupts 1253 1253 + pend = 39 - rc32434_clz(pend); 1254 + do_IRQ((group << 5) + pend , regs);1254 + do_IRQ((group << 5) + pend); 1255 1255 + } 1256 1256 +} 1257 diff -Naurp linux-2.6.1 8.2/arch/mips/rb500/Makefile linux-2.6.18.2.patched/arch/mips/rb500/Makefile1258 --- linux-2.6.1 8.2/arch/mips/rb500/Makefile 1970-01-01 01:00:00.000000000 +01001259 +++ linux-2.6.1 8.2.patched/arch/mips/rb500/Makefile 2006-12-18 17:16:35.000000000 +01001257 diff -Naurp linux-2.6.19.1/arch/mips/rb500/Makefile linux-2.6.19.1.patched/arch/mips/rb500/Makefile 1258 --- linux-2.6.19.1/arch/mips/rb500/Makefile 1970-01-01 01:00:00.000000000 +0100 1259 +++ linux-2.6.19.1.patched/arch/mips/rb500/Makefile 2006-12-18 22:36:01.000000000 +0100 1260 1260 @@ -0,0 +1,5 @@ 1261 1261 +# … … 1264 1264 + 1265 1265 +obj-y += irq.o time.o setup.o serial.o early_serial.o prom.o misc.o devices.o 1266 diff -Naurp linux-2.6.1 8.2/arch/mips/rb500/misc.c linux-2.6.18.2.patched/arch/mips/rb500/misc.c1267 --- linux-2.6.1 8.2/arch/mips/rb500/misc.c 1970-01-01 01:00:00.000000000 +01001268 +++ linux-2.6.1 8.2.patched/arch/mips/rb500/misc.c 2006-12-18 17:16:35.000000000 +01001266 diff -Naurp linux-2.6.19.1/arch/mips/rb500/misc.c linux-2.6.19.1.patched/arch/mips/rb500/misc.c 1267 --- linux-2.6.19.1/arch/mips/rb500/misc.c 1970-01-01 01:00:00.000000000 +0100 1268 +++ linux-2.6.19.1.patched/arch/mips/rb500/misc.c 2006-12-18 22:36:01.000000000 +0100 1269 1269 @@ -0,0 +1,67 @@ 1270 1270 +#include <linux/module.h> … … 1335 1335 +EXPORT_SYMBOL(changeLatchU5); 1336 1336 +EXPORT_SYMBOL(getLatchU5State); 1337 diff -Naurp linux-2.6.1 8.2/arch/mips/rb500/prom.c linux-2.6.18.2.patched/arch/mips/rb500/prom.c1338 --- linux-2.6.1 8.2/arch/mips/rb500/prom.c 1970-01-01 01:00:00.000000000 +01001339 +++ linux-2.6.1 8.2.patched/arch/mips/rb500/prom.c 2006-12-18 17:16:35.000000000 +01001337 diff -Naurp linux-2.6.19.1/arch/mips/rb500/prom.c linux-2.6.19.1.patched/arch/mips/rb500/prom.c 1338 --- linux-2.6.19.1/arch/mips/rb500/prom.c 1970-01-01 01:00:00.000000000 +0100 1339 +++ linux-2.6.19.1.patched/arch/mips/rb500/prom.c 2006-12-18 22:36:01.000000000 +0100 1340 1340 @@ -0,0 +1,194 @@ 1341 1341 +/* … … 1533 1533 + strcpy(arcs_cmdline, cmd_line); 1534 1534 +} 1535 diff -Naurp linux-2.6.1 8.2/arch/mips/rb500/serial.c linux-2.6.18.2.patched/arch/mips/rb500/serial.c1536 --- linux-2.6.1 8.2/arch/mips/rb500/serial.c 1970-01-01 01:00:00.000000000 +01001537 +++ linux-2.6.1 8.2.patched/arch/mips/rb500/serial.c 2006-12-18 17:16:35.000000000 +01001535 diff -Naurp linux-2.6.19.1/arch/mips/rb500/serial.c linux-2.6.19.1.patched/arch/mips/rb500/serial.c 1536 --- linux-2.6.19.1/arch/mips/rb500/serial.c 1970-01-01 01:00:00.000000000 +0100 1537 +++ linux-2.6.19.1.patched/arch/mips/rb500/serial.c 2006-12-18 22:36:01.000000000 +0100 1538 1538 @@ -0,0 +1,78 @@ 1539 1539 +/************************************************************************** … … 1615 1615 + return (0); 1616 1616 +} 1617 diff -Naurp linux-2.6.1 8.2/arch/mips/rb500/setup.c linux-2.6.18.2.patched/arch/mips/rb500/setup.c1618 --- linux-2.6.1 8.2/arch/mips/rb500/setup.c 1970-01-01 01:00:00.000000000 +01001619 +++ linux-2.6.1 8.2.patched/arch/mips/rb500/setup.c 2006-12-18 17:16:35.000000000 +01001617 diff -Naurp linux-2.6.19.1/arch/mips/rb500/setup.c linux-2.6.19.1.patched/arch/mips/rb500/setup.c 1618 --- linux-2.6.19.1/arch/mips/rb500/setup.c 1970-01-01 01:00:00.000000000 +0100 1619 +++ linux-2.6.19.1.patched/arch/mips/rb500/setup.c 2006-12-18 22:36:01.000000000 +0100 1620 1620 @@ -0,0 +1,83 @@ 1621 1621 +/* … … 1702 1702 + return "MIPS RB500"; 1703 1703 +} 1704 diff -Naurp linux-2.6.1 8.2/arch/mips/rb500/time.c linux-2.6.18.2.patched/arch/mips/rb500/time.c1705 --- linux-2.6.1 8.2/arch/mips/rb500/time.c 1970-01-01 01:00:00.000000000 +01001706 +++ linux-2.6.1 8.2.patched/arch/mips/rb500/time.c 2006-12-18 17:16:35.000000000 +01001704 diff -Naurp linux-2.6.19.1/arch/mips/rb500/time.c linux-2.6.19.1.patched/arch/mips/rb500/time.c 1705 --- linux-2.6.19.1/arch/mips/rb500/time.c 1970-01-01 01:00:00.000000000 +0100 1706 +++ linux-2.6.19.1.patched/arch/mips/rb500/time.c 2006-12-18 22:36:01.000000000 +0100 1707 1707 @@ -0,0 +1,92 @@ 1708 1708 +/* … … 1798 1798 + write_c0_compare(r4k_cur); 1799 1799 +} 1800 diff -Naurp linux-2.6.1 8.2/drivers/pci/Makefile linux-2.6.18.2.patched/drivers/pci/Makefile1801 --- linux-2.6.1 8.2/drivers/pci/Makefile 2006-11-04 02:33:58.000000000 +01001802 +++ linux-2.6.1 8.2.patched/drivers/pci/Makefile 2006-12-18 17:16:35.000000000 +01001803 @@ -3 2,6 +32,7 @@ msiobj-$(CONFIG_IA64_GENERIC) += msi-alt1804 msiobj-$(CONFIG_IA64_SGI_SN2) += msi-altix.o1805 obj-$(CONFIG_ PCI_MSI) += $(msiobj-y)1800 diff -Naurp linux-2.6.19.1/drivers/pci/Makefile linux-2.6.19.1.patched/drivers/pci/Makefile 1801 --- linux-2.6.19.1/drivers/pci/Makefile 2006-12-11 20:32:53.000000000 +0100 1802 +++ linux-2.6.19.1.patched/drivers/pci/Makefile 2006-12-18 22:36:01.000000000 +0100 1803 @@ -33,6 +33,7 @@ obj-$(CONFIG_PPC64) += setup-bus.o 1804 obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o 1805 obj-$(CONFIG_X86_VISWS) += setup-irq.o 1806 1806 1807 1807 +obj-$(CONFIG_MIKROTIK_RB500) += setup-irq.o … … 1809 1809 # ACPI Related PCI FW Functions 1810 1810 # 1811 diff -Naurp linux-2.6.1 8.2/include/asm-mips/bootinfo.h linux-2.6.18.2.patched/include/asm-mips/bootinfo.h1812 --- linux-2.6.1 8.2/include/asm-mips/bootinfo.h 2006-11-04 02:33:58.000000000 +01001813 +++ linux-2.6.1 8.2.patched/include/asm-mips/bootinfo.h 2006-12-18 17:16:35.000000000 +01001811 diff -Naurp linux-2.6.19.1/include/asm-mips/bootinfo.h linux-2.6.19.1.patched/include/asm-mips/bootinfo.h 1812 --- linux-2.6.19.1/include/asm-mips/bootinfo.h 2006-12-11 20:32:53.000000000 +0100 1813 +++ linux-2.6.19.1.patched/include/asm-mips/bootinfo.h 2006-12-18 22:36:01.000000000 +0100 1814 1814 @@ -23,72 +23,72 @@ 1815 1815 /* … … 1909 1909 #define MACH_NEC_DDB5476 1 /* NEC DDB Vrc-5476 */ 1910 1910 #define MACH_NEC_DDB5477 2 /* NEC DDB Vrc-5477 */ 1911 @@ -98,27 +98,27 @@ 1912 /* 1913 * Valid machtype for group BAGET 1914 */ 1915 -#define MACH_GROUP_BAGET 9 /* Baget */ 1916 +#define MACH_GROUP_BAGET 9 /* Baget */ 1917 #define MACH_BAGET201 0 /* BT23-201 */ 1918 #define MACH_BAGET202 1 /* BT23-202 */ 1919 1920 /* 1921 * Cosine boards. 1922 */ 1923 -#define MACH_GROUP_COSINE 10 /* CoSine Orion */ 1924 +#define MACH_GROUP_COSINE 10 /* CoSine Orion */ 1925 #define MACH_COSINE_ORION 0 1926 1927 /* 1928 * Valid machtype for group GALILEO 1929 */ 1930 -#define MACH_GROUP_GALILEO 11 /* Galileo Eval Boards */ 1931 +#define MACH_GROUP_GALILEO 11 /* Galileo Eval Boards */ 1932 #define MACH_EV96100 0 /* EV96100 */ 1933 #define MACH_EV64120A 1 /* EV64120A */ 1934 1935 /* 1936 * Valid machtype for group MOMENCO 1937 */ 1938 -#define MACH_GROUP_MOMENCO 12 /* Momentum Boards */ 1939 +#define MACH_GROUP_MOMENCO 12 /* Momentum Boards */ 1940 #define MACH_MOMENCO_OCELOT 0 1941 #define MACH_MOMENCO_OCELOT_G 1 1942 #define MACH_MOMENCO_OCELOT_C 2 1943 @@ -128,7 +128,7 @@ 1944 /* 1945 * Valid machtype for group ITE 1946 */ 1947 -#define MACH_GROUP_ITE 13 /* ITE Semi Eval Boards */ 1948 +#define MACH_GROUP_ITE 13 /* ITE Semi Eval Boards */ 1949 #define MACH_QED_4N_S01B 0 /* ITE8172 based eval board */ 1950 1951 /* 1952 @@ -154,7 +154,7 @@ 1911 @@ -141,7 +141,7 @@ 1953 1912 /* 1954 1913 * Valid machtypes for group Toshiba … … 1959 1918 #define MACH_TOPAS 1 1960 1919 #define MACH_JMR 2 1961 @@ -1 69,19 +169,19 @@1920 @@ -156,19 +156,19 @@ 1962 1921 /* 1963 1922 * Valid machtype for group Alchemy … … 1989 1948 /* 1990 1949 * Valid machtype for group NEC_VR41XX 1991 @@ - 202,7 +202,7 @@1950 @@ -189,7 +189,7 @@ 1992 1951 #define MACH_TANBAC_TB0229 7 /* TANBAC TB0229 (VR4131DIMM) */ 1993 1952 #define MACH_NEC_CMBVR4133 8 /* CMB VR4133 Board */ … … 1998 1957 1999 1958 /* 2000 @@ -2 15,15 +215,17 @@1959 @@ -202,15 +202,17 @@ 2001 1960 /* 2002 1961 * Valid machtype for group TITAN … … 2021 1980 #define CL_SIZE COMMAND_LINE_SIZE 2022 1981 2023 @@ -2 46,7 +248,7 @@ struct boot_mem_map {1982 @@ -233,7 +235,7 @@ struct boot_mem_map { 2024 1983 struct boot_mem_map_entry { 2025 1984 phys_t addr; /* start of memory segment */ … … 2030 1989 }; 2031 1990 2032 @@ -2 71,4 +273,4 @@ extern unsigned long fw_arg0, fw_arg1, f1991 @@ -258,4 +260,4 @@ extern unsigned long fw_arg0, fw_arg1, f 2033 1992 */ 2034 1993 extern void plat_mem_setup(void); … … 2036 1995 -#endif /* _ASM_BOOTINFO_H */ 2037 1996 +#endif /* _ASM_BOOTINFO_H */ 2038 diff -Naurp linux-2.6.1 8.2/include/asm-mips/cpu.h linux-2.6.18.2.patched/include/asm-mips/cpu.h2039 --- linux-2.6.1 8.2/include/asm-mips/cpu.h 2006-11-04 02:33:58.000000000 +01002040 +++ linux-2.6.1 8.2.patched/include/asm-mips/cpu.h 2006-12-18 17:16:35.000000000 +01001997 diff -Naurp linux-2.6.19.1/include/asm-mips/cpu.h linux-2.6.19.1.patched/include/asm-mips/cpu.h 1998 --- linux-2.6.19.1/include/asm-mips/cpu.h 2006-12-11 20:32:53.000000000 +0100 1999 +++ linux-2.6.19.1.patched/include/asm-mips/cpu.h 2006-12-18 22:36:01.000000000 +0100 2041 2000 @@ -43,8 +43,8 @@ 2042 2001 #define PRID_IMP_R2000 0x0100 … … 2144 2103 -#endif /* _ASM_CPU_H */ 2145 2104 +#endif /* _ASM_CPU_H */ 2146 diff -Naurp linux-2.6.1 8.2/include/asm-mips/rc32434/ddr.h linux-2.6.18.2.patched/include/asm-mips/rc32434/ddr.h2147 --- linux-2.6.1 8.2/include/asm-mips/rc32434/ddr.h 1970-01-01 01:00:00.000000000 +01002148 +++ linux-2.6.1 8.2.patched/include/asm-mips/rc32434/ddr.h 2006-12-18 17:16:35.000000000 +01002105 diff -Naurp linux-2.6.19.1/include/asm-mips/rc32434/ddr.h linux-2.6.19.1.patched/include/asm-mips/rc32434/ddr.h 2106 --- linux-2.6.19.1/include/asm-mips/rc32434/ddr.h 1970-01-01 01:00:00.000000000 +0100 2107 +++ linux-2.6.19.1.patched/include/asm-mips/rc32434/ddr.h 2006-12-18 22:36:01.000000000 +0100 2149 2108 @@ -0,0 +1,172 @@ 2150 2109 +#ifndef __IDT_DDR_H__ … … 2320 2279 + 2321 2280 +#endif // __IDT_DDR_H__ 2322 diff -Naurp linux-2.6.1 8.2/include/asm-mips/rc32434/dma.h linux-2.6.18.2.patched/include/asm-mips/rc32434/dma.h2323 --- linux-2.6.1 8.2/include/asm-mips/rc32434/dma.h 1970-01-01 01:00:00.000000000 +01002324 +++ linux-2.6.1 8.2.patched/include/asm-mips/rc32434/dma.h 2006-12-18 17:16:35.000000000 +01002281 diff -Naurp linux-2.6.19.1/include/asm-mips/rc32434/dma.h linux-2.6.19.1.patched/include/asm-mips/rc32434/dma.h 2282 --- linux-2.6.19.1/include/asm-mips/rc32434/dma.h 1970-01-01 01:00:00.000000000 +0100 2283 +++ linux-2.6.19.1.patched/include/asm-mips/rc32434/dma.h 2006-12-18 22:36:01.000000000 +0100 2325 2284 @@ -0,0 +1,193 @@ 2326 2285 +#ifndef __IDT_DMA_H__ … … 2517 2476 + 2518 2477 +#endif // __IDT_DMA_H__ 2519 diff -Naurp linux-2.6.1 8.2/include/asm-mips/rc32434/dma_v.h linux-2.6.18.2.patched/include/asm-mips/rc32434/dma_v.h2520 --- linux-2.6.1 8.2/include/asm-mips/rc32434/dma_v.h 1970-01-01 01:00:00.000000000 +01002521 +++ linux-2.6.1 8.2.patched/include/asm-mips/rc32434/dma_v.h 2006-12-18 17:16:35.000000000 +01002478 diff -Naurp linux-2.6.19.1/include/asm-mips/rc32434/dma_v.h linux-2.6.19.1.patched/include/asm-mips/rc32434/dma_v.h 2479 --- linux-2.6.19.1/include/asm-mips/rc32434/dma_v.h 1970-01-01 01:00:00.000000000 +0100 2480 +++ linux-2.6.19.1.patched/include/asm-mips/rc32434/dma_v.h 2006-12-18 22:36:01.000000000 +0100 2522 2481 @@ -0,0 +1,66 @@ 2523 2482 +#ifndef __IDT_DMA_V_H__ … … 2587 2546 + 2588 2547 +#endif // __IDT_DMA_V_H__ 2589 diff -Naurp linux-2.6.1 8.2/include/asm-mips/rc32434/eth.h linux-2.6.18.2.patched/include/asm-mips/rc32434/eth.h2590 --- linux-2.6.1 8.2/include/asm-mips/rc32434/eth.h 1970-01-01 01:00:00.000000000 +01002591 +++ linux-2.6.1 8.2.patched/include/asm-mips/rc32434/eth.h 2006-12-18 17:16:35.000000000 +01002548 diff -Naurp linux-2.6.19.1/include/asm-mips/rc32434/eth.h linux-2.6.19.1.patched/include/asm-mips/rc32434/eth.h 2549 --- linux-2.6.19.1/include/asm-mips/rc32434/eth.h 1970-01-01 01:00:00.000000000 +0100 2550 +++ linux-2.6.19.1.patched/include/asm-mips/rc32434/eth.h 2006-12-18 22:36:01.000000000 +0100 2592 2551 @@ -0,0 +1,314 @@ 2593 2552 +#ifndef __IDT_ETH_H__ … … 2905 2864 + 2906 2865 +#endif // __IDT_ETH_H__ 2907 diff -Naurp linux-2.6.1 8.2/include/asm-mips/rc32434/eth_v.h linux-2.6.18.2.patched/include/asm-mips/rc32434/eth_v.h2908 --- linux-2.6.1 8.2/include/asm-mips/rc32434/eth_v.h 1970-01-01 01:00:00.000000000 +01002909 +++ linux-2.6.1 8.2.patched/include/asm-mips/rc32434/eth_v.h 2006-12-18 17:16:35.000000000 +01002866 diff -Naurp linux-2.6.19.1/include/asm-mips/rc32434/eth_v.h linux-2.6.19.1.patched/include/asm-mips/rc32434/eth_v.h 2867 --- linux-2.6.19.1/include/asm-mips/rc32434/eth_v.h 1970-01-01 01:00:00.000000000 +0100 2868 +++ linux-2.6.19.1.patched/include/asm-mips/rc32434/eth_v.h 2006-12-18 22:36:01.000000000 +0100 2910 2869 @@ -0,0 +1,59 @@ 2911 2870 +#ifndef __IDT_ETH_V_H__ … … 2968 2927 +#define RCVPKT_LENGTH(X) (((X) & ETHRX_length_m) >> ETHRX_length_b) /* Length of the received packet */ 2969 2928 +#endif // __IDT_ETH_V_H__ 2970 diff -Naurp linux-2.6.1 8.2/include/asm-mips/rc32434/gpio.h linux-2.6.18.2.patched/include/asm-mips/rc32434/gpio.h2971 --- linux-2.6.1 8.2/include/asm-mips/rc32434/gpio.h 1970-01-01 01:00:00.000000000 +01002972 +++ linux-2.6.1 8.2.patched/include/asm-mips/rc32434/gpio.h 2006-12-18 17:16:35.000000000 +01002929 diff -Naurp linux-2.6.19.1/include/asm-mips/rc32434/gpio.h linux-2.6.19.1.patched/include/asm-mips/rc32434/gpio.h 2930 --- linux-2.6.19.1/include/asm-mips/rc32434/gpio.h 1970-01-01 01:00:00.000000000 +0100 2931 +++ linux-2.6.19.1.patched/include/asm-mips/rc32434/gpio.h 2006-12-18 22:36:01.000000000 +0100 2973 2932 @@ -0,0 +1,178 @@ 2974 2933 +#ifndef __IDT_GPIO_H__ … … 3150 3109 + 3151 3110 +#endif // __IDT_GPIO_H__ 3152 diff -Naurp linux-2.6.1 8.2/include/asm-mips/rc32434/irq.h linux-2.6.18.2.patched/include/asm-mips/rc32434/irq.h3153 --- linux-2.6.1 8.2/include/asm-mips/rc32434/irq.h 1970-01-01 01:00:00.000000000 +01003154 +++ linux-2.6.1 8.2.patched/include/asm-mips/rc32434/irq.h 2006-12-18 17:16:35.000000000 +01003111 diff -Naurp linux-2.6.19.1/include/asm-mips/rc32434/irq.h linux-2.6.19.1.patched/include/asm-mips/rc32434/irq.h 3112 --- linux-2.6.19.1/include/asm-mips/rc32434/irq.h 1970-01-01 01:00:00.000000000 +0100 3113 +++ linux-2.6.19.1.patched/include/asm-mips/rc32434/irq.h 2006-12-18 22:36:01.000000000 +0100 3155 3114 @@ -0,0 +1,6 @@ 3156 3115 +#ifndef __ASM_MACH_MIPS_IRQ_H … … 3160 3119 + 3161 3120 +#endif /* __ASM_MACH_MIPS_IRQ_H */ 3162 diff -Naurp linux-2.6.1 8.2/include/asm-mips/rc32434/pci.h linux-2.6.18.2.patched/include/asm-mips/rc32434/pci.h3163 --- linux-2.6.1 8.2/include/asm-mips/rc32434/pci.h 1970-01-01 01:00:00.000000000 +01003164 +++ linux-2.6.1 8.2.patched/include/asm-mips/rc32434/pci.h 2006-12-18 17:16:35.000000000 +01003121 diff -Naurp linux-2.6.19.1/include/asm-mips/rc32434/pci.h linux-2.6.19.1.patched/include/asm-mips/rc32434/pci.h 3122 --- linux-2.6.19.1/include/asm-mips/rc32434/pci.h 1970-01-01 01:00:00.000000000 +0100 3123 +++ linux-2.6.19.1.patched/include/asm-mips/rc32434/pci.h 2006-12-18 22:36:01.000000000 +0100 3165 3124 @@ -0,0 +1,681 @@ 3166 3125 +/************************************************************************** … … 3845 3804 + 3846 3805 +#endif // __IDT_PCI_H__ 3847 diff -Naurp linux-2.6.1 8.2/include/asm-mips/rc32434/rb.h linux-2.6.18.2.patched/include/asm-mips/rc32434/rb.h3848 --- linux-2.6.1 8.2/include/asm-mips/rc32434/rb.h 1970-01-01 01:00:00.000000000 +01003849 +++ linux-2.6.1 8.2.patched/include/asm-mips/rc32434/rb.h 2006-12-18 17:16:35.000000000 +01003806 diff -Naurp linux-2.6.19.1/include/asm-mips/rc32434/rb.h linux-2.6.19.1.patched/include/asm-mips/rc32434/rb.h 3807 --- linux-2.6.19.1/include/asm-mips/rc32434/rb.h 1970-01-01 01:00:00.000000000 +0100 3808 +++ linux-2.6.19.1.patched/include/asm-mips/rc32434/rb.h 2006-12-18 22:36:01.000000000 +0100 3850 3809 @@ -0,0 +1,70 @@ 3851 3810 +#ifndef __MIPS_RB_H__ … … 3919 3878 + 3920 3879 +#endif 3921 diff -Naurp linux-2.6.1 8.2/include/asm-mips/rc32434/rc32434.h linux-2.6.18.2.patched/include/asm-mips/rc32434/rc32434.h3922 --- linux-2.6.1 8.2/include/asm-mips/rc32434/rc32434.h 1970-01-01 01:00:00.000000000 +01003923 +++ linux-2.6.1 8.2.patched/include/asm-mips/rc32434/rc32434.h 2006-12-18 17:16:35.000000000 +01003880 diff -Naurp linux-2.6.19.1/include/asm-mips/rc32434/rc32434.h linux-2.6.19.1.patched/include/asm-mips/rc32434/rc32434.h 3881 --- linux-2.6.19.1/include/asm-mips/rc32434/rc32434.h 1970-01-01 01:00:00.000000000 +0100 3882 +++ linux-2.6.19.1.patched/include/asm-mips/rc32434/rc32434.h 2006-12-18 22:36:01.000000000 +0100 3924 3883 @@ -0,0 +1,119 @@ 3925 3884 +/* … … 4042 4001 + 4043 4002 +#endif /* _RC32434_H_ */ 4044 diff -Naurp linux-2.6.1 8.2/include/asm-mips/rc32434/timer.h linux-2.6.18.2.patched/include/asm-mips/rc32434/timer.h4045 --- linux-2.6.1 8.2/include/asm-mips/rc32434/timer.h 1970-01-01 01:00:00.000000000 +01004046 +++ linux-2.6.1 8.2.patched/include/asm-mips/rc32434/timer.h 2006-12-18 17:16:35.000000000 +01004003 diff -Naurp linux-2.6.19.1/include/asm-mips/rc32434/timer.h linux-2.6.19.1.patched/include/asm-mips/rc32434/timer.h 4004 --- linux-2.6.19.1/include/asm-mips/rc32434/timer.h 1970-01-01 01:00:00.000000000 +0100 4005 +++ linux-2.6.19.1.patched/include/asm-mips/rc32434/timer.h 2006-12-18 22:36:01.000000000 +0100 4047 4006 @@ -0,0 +1,85 @@ 4048 4007 +/************************************************************************** … … 4131 4090 +}; 4132 4091 +#endif // __IDT_TIM_H__ 4133 diff -Naurp linux-2.6.1 8.2/include/asm-mips/rc32434/types.h linux-2.6.18.2.patched/include/asm-mips/rc32434/types.h4134 --- linux-2.6.1 8.2/include/asm-mips/rc32434/types.h 1970-01-01 01:00:00.000000000 +01004135 +++ linux-2.6.1 8.2.patched/include/asm-mips/rc32434/types.h 2006-12-18 17:16:35.000000000 +01004136 @@ -0,0 +1,3 9@@4092 diff -Naurp linux-2.6.19.1/include/asm-mips/rc32434/types.h linux-2.6.19.1.patched/include/asm-mips/rc32434/types.h 4093 --- linux-2.6.19.1/include/asm-mips/rc32434/types.h 1970-01-01 01:00:00.000000000 +0100 4094 +++ linux-2.6.19.1.patched/include/asm-mips/rc32434/types.h 2006-12-18 22:36:36.000000000 +0100 4095 @@ -0,0 +1,35 @@ 4137 4096 +#ifndef __IDT_TYPES_H__ 4138 4097 +#define __IDT_TYPES_H__ … … 4169 4128 +typedef signed long long S64; 4170 4129 + 4171 +#ifndef __cplusplus4172 +typedef U32 bool; // (false == 0), (true is != false)4173 +#endif // __cplusplus4174 +4175 4130 +#endif // __IDT_TYPES_H__ -
target/linux/rb-2.6/patches/110-korina_ethernet.patch
r495b814 r31c8179 1 diff -Naurp linux-2.6.1 8.2/drivers/net/Kconfig linux-2.6.18.2.patched/drivers/net/Kconfig2 --- linux-2.6.1 8.2/drivers/net/Kconfig 2006-11-04 02:33:58.000000000 +01003 +++ linux-2.6.1 8.2.patched/drivers/net/Kconfig 2006-12-17 19:22:08.158597070 +01004 @@ -1 87,6 +187,13 @@ config MII1 diff -Naurp linux-2.6.19.1/drivers/net/Kconfig linux-2.6.19.1.patched/drivers/net/Kconfig 2 --- linux-2.6.19.1/drivers/net/Kconfig 2006-12-11 20:32:53.000000000 +0100 3 +++ linux-2.6.19.1.patched/drivers/net/Kconfig 2006-12-18 18:53:20.000000000 +0100 4 @@ -190,6 +190,13 @@ config MII 5 5 6 6 source "drivers/net/arm/Kconfig" … … 16 16 tristate "MACE (Power Mac ethernet) support" 17 17 depends on NET_ETHERNET && PPC_PMAC && PPC32 18 diff -Naurp linux-2.6.18.2/drivers/net/Makefile linux-2.6.18.2.patched/drivers/net/Makefile 19 --- linux-2.6.18.2/drivers/net/Makefile 2006-11-04 02:33:58.000000000 +0100 20 +++ linux-2.6.18.2.patched/drivers/net/Makefile 2006-12-17 19:22:08.159596918 +0100 21 @@ -26,6 +26,8 @@ ucc_geth_driver-objs := ucc_geth.o ucc_g 22 # 23 obj-$(CONFIG_PLIP) += plip.o 24 25 +obj-$(CONFIG_KORINA) += korina.o 26 + 27 obj-$(CONFIG_ROADRUNNER) += rrunner.o 28 29 obj-$(CONFIG_HAPPYMEAL) += sunhme.o 30 diff -Naurp linux-2.6.18.2/drivers/net/korina.c linux-2.6.18.2.patched/drivers/net/korina.c 31 --- linux-2.6.18.2/drivers/net/korina.c 1970-01-01 01:00:00.000000000 +0100 32 +++ linux-2.6.18.2.patched/drivers/net/korina.c 2006-12-17 19:25:02.387110310 +0100 18 diff -Naurp linux-2.6.19.1/drivers/net/korina.c linux-2.6.19.1.patched/drivers/net/korina.c 19 --- linux-2.6.19.1/drivers/net/korina.c 1970-01-01 01:00:00.000000000 +0100 20 +++ linux-2.6.19.1.patched/drivers/net/korina.c 2006-12-18 18:53:20.000000000 +0100 33 21 @@ -0,0 +1,1188 @@ 34 22 +/************************************************************************** … … 1220 1208 +module_init(rc32434_init_module); 1221 1209 +module_exit(rc32434_cleanup_module); 1222 diff -Naurp linux-2.6.18.2/drivers/net/rc32434_eth.h linux-2.6.18.2.patched/drivers/net/rc32434_eth.h 1223 --- linux-2.6.18.2/drivers/net/rc32434_eth.h 1970-01-01 01:00:00.000000000 +0100 1224 +++ linux-2.6.18.2.patched/drivers/net/rc32434_eth.h 2006-12-17 19:22:08.310573966 +0100 1210 diff -Naurp linux-2.6.19.1/drivers/net/Makefile linux-2.6.19.1.patched/drivers/net/Makefile 1211 --- linux-2.6.19.1/drivers/net/Makefile 2006-12-11 20:32:53.000000000 +0100 1212 +++ linux-2.6.19.1.patched/drivers/net/Makefile 2006-12-18 18:53:20.000000000 +0100 1213 @@ -23,6 +23,8 @@ ucc_geth_driver-objs := ucc_geth.o ucc_g 1214 # 1215 obj-$(CONFIG_PLIP) += plip.o 1216 1217 +obj-$(CONFIG_KORINA) += korina.o 1218 + 1219 obj-$(CONFIG_ROADRUNNER) += rrunner.o 1220 1221 obj-$(CONFIG_HAPPYMEAL) += sunhme.o 1222 diff -Naurp linux-2.6.19.1/drivers/net/rc32434_eth.h linux-2.6.19.1.patched/drivers/net/rc32434_eth.h 1223 --- linux-2.6.19.1/drivers/net/rc32434_eth.h 1970-01-01 01:00:00.000000000 +0100 1224 +++ linux-2.6.19.1.patched/drivers/net/rc32434_eth.h 2006-12-18 18:53:20.000000000 +0100 1225 1225 @@ -0,0 +1,184 @@ 1226 1226 +/************************************************************************** -
target/linux/rb-2.6/patches/120-cf.patch
r495b814 r31c8179 1 diff -Naurp linux-2.6.1 8.2/drivers/block/Kconfig linux-2.6.18.2.patched/drivers/block/Kconfig2 --- linux-2.6.1 8.2/drivers/block/Kconfig 2006-11-04 02:33:58.000000000 +01003 +++ linux-2.6.1 8.2.patched/drivers/block/Kconfig 2006-12-17 19:32:07.668457718+01004 @@ -46 7,4 +467,12@@ config ATA_OVER_ETH1 diff -Naurp linux-2.6.19.1/drivers/block/Kconfig linux-2.6.19.1.patched/drivers/block/Kconfig 2 --- linux-2.6.19.1/drivers/block/Kconfig 2006-12-11 20:32:53.000000000 +0100 3 +++ linux-2.6.19.1.patched/drivers/block/Kconfig 2006-12-18 18:57:31.000000000 +0100 4 @@ -469,6 +469,14 @@ config ATA_OVER_ETH 5 5 This driver provides Support for ATA over Ethernet block 6 6 devices like the Coraid EtherDrive (R) Storage Blade. … … 15 15 + 16 16 endmenu 17 diff -Naurp linux-2.6.18.2/drivers/block/Makefile linux-2.6.18.2.patched/drivers/block/Makefile 18 --- linux-2.6.18.2/drivers/block/Makefile 2006-11-04 02:33:58.000000000 +0100 19 +++ linux-2.6.18.2.patched/drivers/block/Makefile 2006-12-17 19:32:07.675456654 +0100 17 18 endif 19 diff -Naurp linux-2.6.19.1/drivers/block/Makefile linux-2.6.19.1.patched/drivers/block/Makefile 20 --- linux-2.6.19.1/drivers/block/Makefile 2006-12-11 20:32:53.000000000 +0100 21 +++ linux-2.6.19.1.patched/drivers/block/Makefile 2006-12-18 18:57:31.000000000 +0100 20 22 @@ -29,4 +29,5 @@ obj-$(CONFIG_BLK_DEV_CRYPTOLOOP) += cryp 21 23 obj-$(CONFIG_VIODASD) += viodasd.o … … 24 26 +obj-$(CONFIG_BLK_DEV_CF_MIPS) += rb500/ 25 27 26 diff -Naurp linux-2.6.18.2/drivers/block/rb500/Makefile linux-2.6.18.2.patched/drivers/block/rb500/Makefile 27 --- linux-2.6.18.2/drivers/block/rb500/Makefile 1970-01-01 01:00:00.000000000 +0100 28 +++ linux-2.6.18.2.patched/drivers/block/rb500/Makefile 2006-12-17 19:32:07.808436438 +0100 29 @@ -0,0 +1,3 @@ 30 +## Makefile for the RB532 CF port 31 + 32 +obj-y += bdev.o ata.o 33 diff -Naurp linux-2.6.18.2/drivers/block/rb500/ata.c linux-2.6.18.2.patched/drivers/block/rb500/ata.c 34 --- linux-2.6.18.2/drivers/block/rb500/ata.c 1970-01-01 01:00:00.000000000 +0100 35 +++ linux-2.6.18.2.patched/drivers/block/rb500/ata.c 2006-12-17 19:45:49.136575582 +0100 28 diff -Naurp linux-2.6.19.1/drivers/block/rb500/ata.c linux-2.6.19.1.patched/drivers/block/rb500/ata.c 29 --- linux-2.6.19.1/drivers/block/rb500/ata.c 1970-01-01 01:00:00.000000000 +0100 30 +++ linux-2.6.19.1.patched/drivers/block/rb500/ata.c 2006-12-18 18:57:32.000000000 +0100 36 31 @@ -0,0 +1,502 @@ 37 32 +#include <linux/kernel.h> /* printk() */ … … 537 532 + 538 533 +/*eof*/ 539 diff -Naurp linux-2.6.1 8.2/drivers/block/rb500/ata.h linux-2.6.18.2.patched/drivers/block/rb500/ata.h540 --- linux-2.6.1 8.2/drivers/block/rb500/ata.h 1970-01-01 01:00:00.000000000 +0100541 +++ linux-2.6.1 8.2.patched/drivers/block/rb500/ata.h 2006-12-17 19:45:57.233344686+0100534 diff -Naurp linux-2.6.19.1/drivers/block/rb500/ata.h linux-2.6.19.1.patched/drivers/block/rb500/ata.h 535 --- linux-2.6.19.1/drivers/block/rb500/ata.h 1970-01-01 01:00:00.000000000 +0100 536 +++ linux-2.6.19.1.patched/drivers/block/rb500/ata.h 2006-12-18 18:57:32.000000000 +0100 542 537 @@ -0,0 +1,132 @@ 543 538 +#ifndef __CFMIPS_ATA_H__ … … 673 668 + 674 669 +#endif 675 diff -Naurp linux-2.6.1 8.2/drivers/block/rb500/bdev.c linux-2.6.18.2.patched/drivers/block/rb500/bdev.c676 --- linux-2.6.1 8.2/drivers/block/rb500/bdev.c 1970-01-01 01:00:00.000000000 +0100677 +++ linux-2.6.1 8.2.patched/drivers/block/rb500/bdev.c 2006-12-17 19:46:02.228585294+0100670 diff -Naurp linux-2.6.19.1/drivers/block/rb500/bdev.c linux-2.6.19.1.patched/drivers/block/rb500/bdev.c 671 --- linux-2.6.19.1/drivers/block/rb500/bdev.c 1970-01-01 01:00:00.000000000 +0100 672 +++ linux-2.6.19.1.patched/drivers/block/rb500/bdev.c 2006-12-18 18:57:32.000000000 +0100 678 673 @@ -0,0 +1,349 @@ 679 674 +/* CF-mips driver … … 1026 1021 + spin_unlock(&dev->lock); 1027 1022 +} 1023 diff -Naurp linux-2.6.19.1/drivers/block/rb500/Makefile linux-2.6.19.1.patched/drivers/block/rb500/Makefile 1024 --- linux-2.6.19.1/drivers/block/rb500/Makefile 1970-01-01 01:00:00.000000000 +0100 1025 +++ linux-2.6.19.1.patched/drivers/block/rb500/Makefile 2006-12-18 18:57:32.000000000 +0100 1026 @@ -0,0 +1,3 @@ 1027 +## Makefile for the RB532 CF port 1028 + 1029 +obj-y += bdev.o ata.o -
target/linux/rb-2.6/patches/130-rbmipsnand.patch
r495b814 r31c8179 1 diff -Naur B linux-2.6.18.2/drivers/mtd/nand/Kconfig linux-2.6.18.2.patched/drivers/mtd/nand/Kconfig2 --- linux-2.6.1 8.2/drivers/mtd/nand/Kconfig 2006-11-04 02:33:58.000000000 +01003 +++ linux-2.6.1 8.2.patched/drivers/mtd/nand/Kconfig 2006-12-12 15:02:30.353515367+01004 @@ -75,6 +75,12 @@ 1 diff -Naurp linux-2.6.19.1/drivers/mtd/nand/Kconfig linux-2.6.19.1.patched/drivers/mtd/nand/Kconfig 2 --- linux-2.6.19.1/drivers/mtd/nand/Kconfig 2006-12-11 20:32:53.000000000 +0100 3 +++ linux-2.6.19.1.patched/drivers/mtd/nand/Kconfig 2006-12-18 19:18:10.000000000 +0100 4 @@ -75,6 +75,12 @@ config MTD_NAND_TS7250 5 5 help 6 6 Support for NAND flash on Technologic Systems TS-7250 platform. … … 15 15 tristate 16 16 17 diff -Naur B linux-2.6.18.2/drivers/mtd/nand/Makefile linux-2.6.18.2.patched/drivers/mtd/nand/Makefile18 --- linux-2.6.1 8.2/drivers/mtd/nand/Makefile 2006-11-04 02:33:58.000000000 +010019 +++ linux-2.6.1 8.2.patched/drivers/mtd/nand/Makefile 2006-12-12 15:02:30.377511719+010020 @@ -9,6 +9,7 @@ 17 diff -Naurp linux-2.6.19.1/drivers/mtd/nand/Makefile linux-2.6.19.1.patched/drivers/mtd/nand/Makefile 18 --- linux-2.6.19.1/drivers/mtd/nand/Makefile 2006-12-11 20:32:53.000000000 +0100 19 +++ linux-2.6.19.1.patched/drivers/mtd/nand/Makefile 2006-12-18 19:18:10.000000000 +0100 20 @@ -9,6 +9,7 @@ obj-$(CONFIG_MTD_NAND_IDS) += nand_ids. 21 21 obj-$(CONFIG_MTD_NAND_SPIA) += spia.o 22 22 obj-$(CONFIG_MTD_NAND_AMS_DELTA) += ams-delta.o … … 26 26 obj-$(CONFIG_MTD_NAND_EDB7312) += edb7312.o 27 27 obj-$(CONFIG_MTD_NAND_AU1550) += au1550nd.o 28 diff -Naur B linux-2.6.18.2/drivers/mtd/nand/rbmipsnand.c linux-2.6.18.2.patched/drivers/mtd/nand/rbmipsnand.c29 --- linux-2.6.1 8.2/drivers/mtd/nand/rbmipsnand.c 1970-01-01 01:00:00.000000000 +010030 +++ linux-2.6.1 8.2.patched/drivers/mtd/nand/rbmipsnand.c 2006-12-12 15:02:38.845224431+010028 diff -Naurp linux-2.6.19.1/drivers/mtd/nand/rbmipsnand.c linux-2.6.19.1.patched/drivers/mtd/nand/rbmipsnand.c 29 --- linux-2.6.19.1/drivers/mtd/nand/rbmipsnand.c 1970-01-01 01:00:00.000000000 +0100 30 +++ linux-2.6.19.1.patched/drivers/mtd/nand/rbmipsnand.c 2006-12-18 19:18:10.000000000 +0100 31 31 @@ -0,0 +1,137 @@ 32 32 +#include <linux/init.h> -
target/linux/rb-2.6/patches/140-yaffs2.patch
r495b814 r31c8179 1 diff -Naur B linux-2.6.18.2/fs/Kconfig linux-2.6.18.2.patched/fs/Kconfig2 --- linux-2.6.1 8.2/fs/Kconfig 2006-11-04 02:33:58.000000000 +01003 +++ linux-2.6.1 8.2.patched/fs/Kconfig 2006-12-11 13:10:48.000000000 +01004 @@ -1 045,6 +1045,10 @@1 diff -Naurp linux-2.6.19.1/fs/Kconfig linux-2.6.19.1.patched/fs/Kconfig 2 --- linux-2.6.19.1/fs/Kconfig 2006-12-11 20:32:53.000000000 +0100 3 +++ linux-2.6.19.1.patched/fs/Kconfig 2006-12-18 22:07:31.000000000 +0100 4 @@ -1202,6 +1202,10 @@ config EFS_FS 5 5 To compile the EFS file system support as a module, choose M here: the 6 6 module will be called efs. … … 12 12 config JFFS_FS 13 13 tristate "Journalling Flash File System (JFFS) support" 14 depends on MTD 15 diff -NaurB linux-2.6.18.2/fs/Makefile linux-2.6.18.2.patched/fs/Makefile 16 --- linux-2.6.18.2/fs/Makefile 2006-11-04 02:33:58.000000000 +0100 17 +++ linux-2.6.18.2.patched/fs/Makefile 2006-12-11 13:10:48.000000000 +0100 18 @@ -102,3 +102,6 @@ 19 obj-$(CONFIG_HPPFS) += hppfs/ 14 depends on MTD && BLOCK 15 diff -Naurp linux-2.6.19.1/fs/Makefile linux-2.6.19.1.patched/fs/Makefile 16 --- linux-2.6.19.1/fs/Makefile 2006-12-11 20:32:53.000000000 +0100 17 +++ linux-2.6.19.1.patched/fs/Makefile 2006-12-18 22:07:31.000000000 +0100 18 @@ -114,3 +114,6 @@ obj-$(CONFIG_HPPFS) += hppfs/ 20 19 obj-$(CONFIG_DEBUG_FS) += debugfs/ 21 20 obj-$(CONFIG_OCFS2_FS) += ocfs2/ 21 obj-$(CONFIG_GFS2_FS) += gfs2/ 22 22 + 23 23 +# Patched by YAFFS 24 24 +obj-$(CONFIG_YAFFS_FS) += yaffs2/ 25 diff -Naur B linux-2.6.18.2/fs/yaffs2/devextras.h linux-2.6.18.2.patched/fs/yaffs2/devextras.h26 --- linux-2.6.1 8.2/fs/yaffs2/devextras.h 1970-01-01 01:00:00.000000000 +010027 +++ linux-2.6.1 8.2.patched/fs/yaffs2/devextras.h 2006-12-11 13:10:48.000000000 +010025 diff -Naurp linux-2.6.19.1/fs/yaffs2/devextras.h linux-2.6.19.1.patched/fs/yaffs2/devextras.h 26 --- linux-2.6.19.1/fs/yaffs2/devextras.h 1970-01-01 01:00:00.000000000 +0100 27 +++ linux-2.6.19.1.patched/fs/yaffs2/devextras.h 2006-12-18 22:07:31.000000000 +0100 28 28 @@ -0,0 +1,265 @@ 29 29 +/* … … 292 292 + 293 293 +#endif 294 diff -Naur B linux-2.6.18.2/fs/yaffs2/Kconfig linux-2.6.18.2.patched/fs/yaffs2/Kconfig295 --- linux-2.6.1 8.2/fs/yaffs2/Kconfig 1970-01-01 01:00:00.000000000 +0100296 +++ linux-2.6.1 8.2.patched/fs/yaffs2/Kconfig 2006-12-11 13:10:48.000000000 +0100294 diff -Naurp linux-2.6.19.1/fs/yaffs2/Kconfig linux-2.6.19.1.patched/fs/yaffs2/Kconfig 295 --- linux-2.6.19.1/fs/yaffs2/Kconfig 1970-01-01 01:00:00.000000000 +0100 296 +++ linux-2.6.19.1.patched/fs/yaffs2/Kconfig 2006-12-18 22:07:31.000000000 +0100 297 297 @@ -0,0 +1,135 @@ 298 298 +# … … 431 431 + 432 432 + If unsure, say Y. 433 diff -Naur B linux-2.6.18.2/fs/yaffs2/Makefile linux-2.6.18.2.patched/fs/yaffs2/Makefile434 --- linux-2.6.1 8.2/fs/yaffs2/Makefile 1970-01-01 01:00:00.000000000 +0100435 +++ linux-2.6.1 8.2.patched/fs/yaffs2/Makefile 2006-12-11 13:10:48.000000000 +0100433 diff -Naurp linux-2.6.19.1/fs/yaffs2/Makefile linux-2.6.19.1.patched/fs/yaffs2/Makefile 434 --- linux-2.6.19.1/fs/yaffs2/Makefile 1970-01-01 01:00:00.000000000 +0100 435 +++ linux-2.6.19.1.patched/fs/yaffs2/Makefile 2006-12-18 22:07:31.000000000 +0100 436 436 @@ -0,0 +1,10 @@ 437 437 +# … … 445 445 +yaffs-y += yaffs_tagscompat.o yaffs_tagsvalidity.o 446 446 +yaffs-y += yaffs_mtdif.o yaffs_mtdif2.o 447 diff -Naur B linux-2.6.18.2/fs/yaffs2/moduleconfig.h linux-2.6.18.2.patched/fs/yaffs2/moduleconfig.h448 --- linux-2.6.1 8.2/fs/yaffs2/moduleconfig.h 1970-01-01 01:00:00.000000000 +0100449 +++ linux-2.6.1 8.2.patched/fs/yaffs2/moduleconfig.h 2006-12-11 13:10:48.000000000 +0100447 diff -Naurp linux-2.6.19.1/fs/yaffs2/moduleconfig.h linux-2.6.19.1.patched/fs/yaffs2/moduleconfig.h 448 --- linux-2.6.19.1/fs/yaffs2/moduleconfig.h 1970-01-01 01:00:00.000000000 +0100 449 +++ linux-2.6.19.1.patched/fs/yaffs2/moduleconfig.h 2006-12-18 22:07:31.000000000 +0100 450 450 @@ -0,0 +1,32 @@ 451 451 +#ifndef __YAFFS_CONFIG_H__ … … 481 481 + 482 482 +#endif /* __YAFFS_CONFIG_H__ */ 483 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_checkptrw.c linux-2.6.18.2.patched/fs/yaffs2/yaffs_checkptrw.c484 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_checkptrw.c 1970-01-01 01:00:00.000000000 +0100485 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_checkptrw.c 2006-12-11 13:10:48.000000000 +0100483 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_checkptrw.c linux-2.6.19.1.patched/fs/yaffs2/yaffs_checkptrw.c 484 --- linux-2.6.19.1/fs/yaffs2/yaffs_checkptrw.c 1970-01-01 01:00:00.000000000 +0100 485 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_checkptrw.c 2006-12-18 22:07:31.000000000 +0100 486 486 @@ -0,0 +1,384 @@ 487 487 +/* YAFFS: Yet another FFS. A NAND-flash specific file system. … … 869 869 + 870 870 + 871 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_checkptrw.h linux-2.6.18.2.patched/fs/yaffs2/yaffs_checkptrw.h872 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_checkptrw.h 1970-01-01 01:00:00.000000000 +0100873 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_checkptrw.h 2006-12-11 13:10:48.000000000 +0100871 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_checkptrw.h linux-2.6.19.1.patched/fs/yaffs2/yaffs_checkptrw.h 872 --- linux-2.6.19.1/fs/yaffs2/yaffs_checkptrw.h 1970-01-01 01:00:00.000000000 +0100 873 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_checkptrw.h 2006-12-18 22:07:31.000000000 +0100 874 874 @@ -0,0 +1,18 @@ 875 875 +#ifndef __YAFFS_CHECKPTRW_H__ … … 891 891 +#endif 892 892 + 893 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_ecc.c linux-2.6.18.2.patched/fs/yaffs2/yaffs_ecc.c894 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_ecc.c 1970-01-01 01:00:00.000000000 +0100895 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_ecc.c 2006-12-11 13:10:48.000000000 +0100893 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_ecc.c linux-2.6.19.1.patched/fs/yaffs2/yaffs_ecc.c 894 --- linux-2.6.19.1/fs/yaffs2/yaffs_ecc.c 1970-01-01 01:00:00.000000000 +0100 895 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_ecc.c 2006-12-18 22:07:31.000000000 +0100 896 896 @@ -0,0 +1,333 @@ 897 897 +/* … … 1228 1228 +} 1229 1229 + 1230 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_ecc.h linux-2.6.18.2.patched/fs/yaffs2/yaffs_ecc.h1231 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_ecc.h 1970-01-01 01:00:00.000000000 +01001232 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_ecc.h 2006-12-11 13:10:48.000000000 +01001230 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_ecc.h linux-2.6.19.1.patched/fs/yaffs2/yaffs_ecc.h 1231 --- linux-2.6.19.1/fs/yaffs2/yaffs_ecc.h 1970-01-01 01:00:00.000000000 +0100 1232 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_ecc.h 2006-12-18 22:07:31.000000000 +0100 1233 1233 @@ -0,0 +1,44 @@ 1234 1234 +/* … … 1276 1276 + const yaffs_ECCOther * test_ecc); 1277 1277 +#endif 1278 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_fs.c linux-2.6.18.2.patched/fs/yaffs2/yaffs_fs.c1279 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_fs.c 1970-01-01 01:00:00.000000000 +01001280 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_fs.c 2006-12-11 13:10:48.000000000 +01001281 @@ -0,0 +1,21 16 @@1278 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_fs.c linux-2.6.19.1.patched/fs/yaffs2/yaffs_fs.c 1279 --- linux-2.6.19.1/fs/yaffs2/yaffs_fs.c 1970-01-01 01:00:00.000000000 +0100 1280 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_fs.c 2006-12-18 22:07:55.000000000 +0100 1281 @@ -0,0 +1,2136 @@ 1282 1282 +/* 1283 1283 + * YAFFS: Yet another FFS. A NAND-flash specific file system. … … 1316 1316 +extern const char *yaffs_guts_c_version; 1317 1317 + 1318 +#include <linux/config.h>1319 1318 +#include <linux/kernel.h> 1320 1319 +#include <linux/module.h> … … 1361 1360 + 1362 1361 +unsigned yaffs_traceMask = YAFFS_TRACE_ALWAYS | 1363 + YAFFS_TRACE_BAD_BLOCKS |1364 + YAFFS_TRACE_CHECKPOINT1362 + YAFFS_TRACE_BAD_BLOCKS 1363 + /* | YAFFS_TRACE_CHECKPOINT */ 1365 1364 + /* | 0xFFFFFFFF */; 1366 1365 + … … 1371 1370 +/*#define T(x) printk x */ 1372 1371 + 1372 +#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,18)) 1373 +#define yaffs_InodeToObject(iptr) ((yaffs_Object *)((iptr)->i_private)) 1374 +#else 1373 1375 +#define yaffs_InodeToObject(iptr) ((yaffs_Object *)((iptr)->u.generic_ip)) 1376 +#endif 1374 1377 +#define yaffs_DentryToObject(dptr) yaffs_InodeToObject((dptr)->d_inode) 1375 1378 + … … 1471 1474 + 1472 1475 +static struct file_operations yaffs_file_operations = { 1476 +#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,18)) 1477 + .read = do_sync_read, 1478 + .write = do_sync_write, 1479 + .aio_read = generic_file_aio_read, 1480 + .aio_write = generic_file_aio_write, 1481 +#else 1473 1482 + .read = generic_file_read, 1474 1483 + .write = generic_file_write, 1484 +#endif 1475 1485 + .mmap = generic_file_mmap, 1476 1486 + .flush = yaffs_file_flush, … … 1690 1700 + */ 1691 1701 + obj->myInode = NULL; 1702 +#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,18)) 1703 + inode->i_private = NULL; 1704 +#else 1692 1705 + inode->u.generic_ip = NULL; 1706 +#endif 1693 1707 + 1694 1708 + /* If the object freeing was deferred, then the real … … 1986 2000 + inode->i_uid = obj->yst_uid; 1987 2001 + inode->i_gid = obj->yst_gid; 2002 +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)) 1988 2003 + inode->i_blksize = inode->i_sb->s_blocksize; 2004 +#endif 1989 2005 +#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0)) 1990 2006 + … … 2038 2054 + } 2039 2055 + 2056 +#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,18)) 2057 + inode->i_private = obj; 2058 +#else 2040 2059 + inode->u.generic_ip = obj; 2060 +#endif 2041 2061 + obj->myInode = inode; 2042 2062 + … … 3396 3416 +MODULE_AUTHOR("Charles Manning, Aleph One Ltd., 2002-2006"); 3397 3417 +MODULE_LICENSE("GPL"); 3398 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_guts.c linux-2.6.18.2.patched/fs/yaffs2/yaffs_guts.c3399 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_guts.c 1970-01-01 01:00:00.000000000 +01003400 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_guts.c 2006-12-11 13:10:48.000000000 +01003418 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_guts.c linux-2.6.19.1.patched/fs/yaffs2/yaffs_guts.c 3419 --- linux-2.6.19.1/fs/yaffs2/yaffs_guts.c 1970-01-01 01:00:00.000000000 +0100 3420 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_guts.c 2006-12-18 22:07:31.000000000 +0100 3401 3421 @@ -0,0 +1,6675 @@ 3402 3422 +/* … … 10075 10095 + return YAFFS_OK; 10076 10096 +} 10077 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_guts.h linux-2.6.18.2.patched/fs/yaffs2/yaffs_guts.h10078 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_guts.h 1970-01-01 01:00:00.000000000 +010010079 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_guts.h 2006-12-11 13:10:48.000000000 +010010097 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_guts.h linux-2.6.19.1.patched/fs/yaffs2/yaffs_guts.h 10098 --- linux-2.6.19.1/fs/yaffs2/yaffs_guts.h 1970-01-01 01:00:00.000000000 +0100 10099 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_guts.h 2006-12-18 22:07:31.000000000 +0100 10080 10100 @@ -0,0 +1,893 @@ 10081 10101 +/* … … 10972 10992 + 10973 10993 +#endif 10974 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffsinterface.h linux-2.6.18.2.patched/fs/yaffs2/yaffsinterface.h10975 --- linux-2.6.1 8.2/fs/yaffs2/yaffsinterface.h 1970-01-01 01:00:00.000000000 +010010976 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffsinterface.h 2006-12-11 13:10:48.000000000 +010010994 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffsinterface.h linux-2.6.19.1.patched/fs/yaffs2/yaffsinterface.h 10995 --- linux-2.6.19.1/fs/yaffs2/yaffsinterface.h 1970-01-01 01:00:00.000000000 +0100 10996 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffsinterface.h 2006-12-18 22:07:31.000000000 +0100 10977 10997 @@ -0,0 +1,23 @@ 10978 10998 +/* … … 10999 11019 + 11000 11020 +#endif 11001 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_mtdif2.c linux-2.6.18.2.patched/fs/yaffs2/yaffs_mtdif2.c11002 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_mtdif2.c 1970-01-01 01:00:00.000000000 +010011003 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_mtdif2.c 2006-12-11 13:10:48.000000000 +010011021 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_mtdif2.c linux-2.6.19.1.patched/fs/yaffs2/yaffs_mtdif2.c 11022 --- linux-2.6.19.1/fs/yaffs2/yaffs_mtdif2.c 1970-01-01 01:00:00.000000000 +0100 11023 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_mtdif2.c 2006-12-18 22:07:31.000000000 +0100 11004 11024 @@ -0,0 +1,234 @@ 11005 11025 +/* … … 11237 11257 +} 11238 11258 + 11239 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_mtdif2.h linux-2.6.18.2.patched/fs/yaffs2/yaffs_mtdif2.h11240 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_mtdif2.h 1970-01-01 01:00:00.000000000 +010011241 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_mtdif2.h 2006-12-11 13:10:48.000000000 +010011259 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_mtdif2.h linux-2.6.19.1.patched/fs/yaffs2/yaffs_mtdif2.h 11260 --- linux-2.6.19.1/fs/yaffs2/yaffs_mtdif2.h 1970-01-01 01:00:00.000000000 +0100 11261 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_mtdif2.h 2006-12-18 22:07:31.000000000 +0100 11242 11262 @@ -0,0 +1,29 @@ 11243 11263 +/* … … 11270 11290 + 11271 11291 +#endif 11272 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_mtdif.c linux-2.6.18.2.patched/fs/yaffs2/yaffs_mtdif.c11273 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_mtdif.c 1970-01-01 01:00:00.000000000 +010011274 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_mtdif.c 2006-12-11 13:10:48.000000000 +010011292 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_mtdif.c linux-2.6.19.1.patched/fs/yaffs2/yaffs_mtdif.c 11293 --- linux-2.6.19.1/fs/yaffs2/yaffs_mtdif.c 1970-01-01 01:00:00.000000000 +0100 11294 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_mtdif.c 2006-12-18 22:07:31.000000000 +0100 11275 11295 @@ -0,0 +1,243 @@ 11276 11296 +/* … … 11517 11537 +} 11518 11538 + 11519 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_mtdif.h linux-2.6.18.2.patched/fs/yaffs2/yaffs_mtdif.h11520 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_mtdif.h 1970-01-01 01:00:00.000000000 +010011521 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_mtdif.h 2006-12-11 13:10:48.000000000 +010011539 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_mtdif.h linux-2.6.19.1.patched/fs/yaffs2/yaffs_mtdif.h 11540 --- linux-2.6.19.1/fs/yaffs2/yaffs_mtdif.h 1970-01-01 01:00:00.000000000 +0100 11541 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_mtdif.h 2006-12-18 22:07:31.000000000 +0100 11522 11542 @@ -0,0 +1,31 @@ 11523 11543 +/* … … 11552 11572 +int nandmtd_InitialiseNAND(yaffs_Device * dev); 11553 11573 +#endif 11554 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_nand.c linux-2.6.18.2.patched/fs/yaffs2/yaffs_nand.c11555 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_nand.c 1970-01-01 01:00:00.000000000 +010011556 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_nand.c 2006-12-11 13:10:48.000000000 +010011574 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_nand.c linux-2.6.19.1.patched/fs/yaffs2/yaffs_nand.c 11575 --- linux-2.6.19.1/fs/yaffs2/yaffs_nand.c 1970-01-01 01:00:00.000000000 +0100 11576 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_nand.c 2006-12-18 22:07:31.000000000 +0100 11557 11577 @@ -0,0 +1,135 @@ 11558 11578 +/* … … 11691 11711 + 11692 11712 + 11693 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_nandemul2k.h linux-2.6.18.2.patched/fs/yaffs2/yaffs_nandemul2k.h11694 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_nandemul2k.h 1970-01-01 01:00:00.000000000 +010011695 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_nandemul2k.h 2006-12-11 13:10:48.000000000 +010011713 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_nandemul2k.h linux-2.6.19.1.patched/fs/yaffs2/yaffs_nandemul2k.h 11714 --- linux-2.6.19.1/fs/yaffs2/yaffs_nandemul2k.h 1970-01-01 01:00:00.000000000 +0100 11715 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_nandemul2k.h 2006-12-18 22:07:31.000000000 +0100 11696 11716 @@ -0,0 +1,42 @@ 11697 11717 +/* … … 11737 11757 + 11738 11758 +#endif 11739 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_nand.h linux-2.6.18.2.patched/fs/yaffs2/yaffs_nand.h11740 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_nand.h 1970-01-01 01:00:00.000000000 +010011741 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_nand.h 2006-12-11 13:10:48.000000000 +010011759 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_nand.h linux-2.6.19.1.patched/fs/yaffs2/yaffs_nand.h 11760 --- linux-2.6.19.1/fs/yaffs2/yaffs_nand.h 1970-01-01 01:00:00.000000000 +0100 11761 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_nand.h 2006-12-18 22:07:31.000000000 +0100 11742 11762 @@ -0,0 +1,43 @@ 11743 11763 +/* … … 11784 11804 +#endif 11785 11805 + 11786 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_packedtags1.c linux-2.6.18.2.patched/fs/yaffs2/yaffs_packedtags1.c11787 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_packedtags1.c 1970-01-01 01:00:00.000000000 +010011788 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_packedtags1.c 2006-12-11 13:10:48.000000000 +010011806 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_packedtags1.c linux-2.6.19.1.patched/fs/yaffs2/yaffs_packedtags1.c 11807 --- linux-2.6.19.1/fs/yaffs2/yaffs_packedtags1.c 1970-01-01 01:00:00.000000000 +0100 11808 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_packedtags1.c 2006-12-18 22:07:31.000000000 +0100 11789 11809 @@ -0,0 +1,39 @@ 11790 11810 +#include "yaffs_packedtags1.h" … … 11827 11847 + } 11828 11848 +} 11829 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_packedtags1.h linux-2.6.18.2.patched/fs/yaffs2/yaffs_packedtags1.h11830 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_packedtags1.h 1970-01-01 01:00:00.000000000 +010011831 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_packedtags1.h 2006-12-11 13:10:48.000000000 +010011849 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_packedtags1.h linux-2.6.19.1.patched/fs/yaffs2/yaffs_packedtags1.h 11850 --- linux-2.6.19.1/fs/yaffs2/yaffs_packedtags1.h 1970-01-01 01:00:00.000000000 +0100 11851 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_packedtags1.h 2006-12-18 22:07:31.000000000 +0100 11832 11852 @@ -0,0 +1,22 @@ 11833 11853 +// This is used to pack YAFFS1 tags, not YAFFS2 tags. … … 11853 11873 +void yaffs_UnpackTags1(yaffs_ExtendedTags * t, const yaffs_PackedTags1 * pt); 11854 11874 +#endif 11855 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_packedtags2.c linux-2.6.18.2.patched/fs/yaffs2/yaffs_packedtags2.c11856 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_packedtags2.c 1970-01-01 01:00:00.000000000 +010011857 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_packedtags2.c 2006-12-11 13:10:48.000000000 +010011875 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_packedtags2.c linux-2.6.19.1.patched/fs/yaffs2/yaffs_packedtags2.c 11876 --- linux-2.6.19.1/fs/yaffs2/yaffs_packedtags2.c 1970-01-01 01:00:00.000000000 +0100 11877 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_packedtags2.c 2006-12-18 22:07:31.000000000 +0100 11858 11878 @@ -0,0 +1,184 @@ 11859 11879 +/* … … 12041 12061 + 12042 12062 +} 12043 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_packedtags2.h linux-2.6.18.2.patched/fs/yaffs2/yaffs_packedtags2.h12044 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_packedtags2.h 1970-01-01 01:00:00.000000000 +010012045 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_packedtags2.h 2006-12-11 13:10:48.000000000 +010012063 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_packedtags2.h linux-2.6.19.1.patched/fs/yaffs2/yaffs_packedtags2.h 12064 --- linux-2.6.19.1/fs/yaffs2/yaffs_packedtags2.h 1970-01-01 01:00:00.000000000 +0100 12065 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_packedtags2.h 2006-12-18 22:07:31.000000000 +0100 12046 12066 @@ -0,0 +1,23 @@ 12047 12067 +/* This is used to pack YAFFS2 tags, not YAFFS1tags. */ … … 12068 12088 +void yaffs_UnpackTags2(yaffs_ExtendedTags * t, yaffs_PackedTags2 * pt); 12069 12089 +#endif 12070 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_qsort.c linux-2.6.18.2.patched/fs/yaffs2/yaffs_qsort.c12071 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_qsort.c 1970-01-01 01:00:00.000000000 +010012072 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_qsort.c 2006-12-11 13:10:48.000000000 +010012090 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_qsort.c linux-2.6.19.1.patched/fs/yaffs2/yaffs_qsort.c 12091 --- linux-2.6.19.1/fs/yaffs2/yaffs_qsort.c 1970-01-01 01:00:00.000000000 +0100 12092 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_qsort.c 2006-12-18 22:07:31.000000000 +0100 12073 12093 @@ -0,0 +1,156 @@ 12074 12094 +/* … … 12228 12248 +/* qsort(pn - r, r / es, es, cmp);*/ 12229 12249 +} 12230 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_qsort.h linux-2.6.18.2.patched/fs/yaffs2/yaffs_qsort.h12231 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_qsort.h 1970-01-01 01:00:00.000000000 +010012232 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_qsort.h 2006-12-11 13:10:48.000000000 +010012250 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_qsort.h linux-2.6.19.1.patched/fs/yaffs2/yaffs_qsort.h 12251 --- linux-2.6.19.1/fs/yaffs2/yaffs_qsort.h 1970-01-01 01:00:00.000000000 +0100 12252 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_qsort.h 2006-12-18 22:07:31.000000000 +0100 12233 12253 @@ -0,0 +1,23 @@ 12234 12254 +/* … … 12255 12275 + 12256 12276 +#endif 12257 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_tagscompat.c linux-2.6.18.2.patched/fs/yaffs2/yaffs_tagscompat.c12258 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_tagscompat.c 1970-01-01 01:00:00.000000000 +010012259 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_tagscompat.c 2006-12-11 13:10:48.000000000 +010012277 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_tagscompat.c linux-2.6.19.1.patched/fs/yaffs2/yaffs_tagscompat.c 12278 --- linux-2.6.19.1/fs/yaffs2/yaffs_tagscompat.c 1970-01-01 01:00:00.000000000 +0100 12279 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_tagscompat.c 2006-12-18 22:07:31.000000000 +0100 12260 12280 @@ -0,0 +1,532 @@ 12261 12281 +/* … … 12791 12811 + return YAFFS_OK; 12792 12812 +} 12793 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_tagscompat.h linux-2.6.18.2.patched/fs/yaffs2/yaffs_tagscompat.h12794 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_tagscompat.h 1970-01-01 01:00:00.000000000 +010012795 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_tagscompat.h 2006-12-11 13:10:48.000000000 +010012813 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_tagscompat.h linux-2.6.19.1.patched/fs/yaffs2/yaffs_tagscompat.h 12814 --- linux-2.6.19.1/fs/yaffs2/yaffs_tagscompat.h 1970-01-01 01:00:00.000000000 +0100 12815 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_tagscompat.h 2006-12-18 22:07:31.000000000 +0100 12796 12816 @@ -0,0 +1,40 @@ 12797 12817 +/* … … 12835 12855 + 12836 12856 +#endif 12837 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_tagsvalidity.c linux-2.6.18.2.patched/fs/yaffs2/yaffs_tagsvalidity.c12838 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_tagsvalidity.c 1970-01-01 01:00:00.000000000 +010012839 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_tagsvalidity.c 2006-12-11 13:10:48.000000000 +010012857 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_tagsvalidity.c linux-2.6.19.1.patched/fs/yaffs2/yaffs_tagsvalidity.c 12858 --- linux-2.6.19.1/fs/yaffs2/yaffs_tagsvalidity.c 1970-01-01 01:00:00.000000000 +0100 12859 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_tagsvalidity.c 2006-12-18 22:07:31.000000000 +0100 12840 12860 @@ -0,0 +1,31 @@ 12841 12861 + … … 12870 12890 + 12871 12891 +} 12872 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_tagsvalidity.h linux-2.6.18.2.patched/fs/yaffs2/yaffs_tagsvalidity.h12873 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_tagsvalidity.h 1970-01-01 01:00:00.000000000 +010012874 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_tagsvalidity.h 2006-12-11 13:10:48.000000000 +010012892 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_tagsvalidity.h linux-2.6.19.1.patched/fs/yaffs2/yaffs_tagsvalidity.h 12893 --- linux-2.6.19.1/fs/yaffs2/yaffs_tagsvalidity.h 1970-01-01 01:00:00.000000000 +0100 12894 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_tagsvalidity.h 2006-12-18 22:07:31.000000000 +0100 12875 12895 @@ -0,0 +1,25 @@ 12876 12896 + … … 12899 12919 +int yaffs_ValidateTags(yaffs_ExtendedTags * tags); 12900 12920 +#endif 12901 diff -Naur B linux-2.6.18.2/fs/yaffs2/yportenv.h linux-2.6.18.2.patched/fs/yaffs2/yportenv.h12902 --- linux-2.6.1 8.2/fs/yaffs2/yportenv.h 1970-01-01 01:00:00.000000000 +010012903 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yportenv.h 2006-12-11 13:10:48.000000000 +010012904 @@ -0,0 +1,16 5@@12921 diff -Naurp linux-2.6.19.1/fs/yaffs2/yportenv.h linux-2.6.19.1.patched/fs/yaffs2/yportenv.h 12922 --- linux-2.6.19.1/fs/yaffs2/yportenv.h 1970-01-01 01:00:00.000000000 +0100 12923 +++ linux-2.6.19.1.patched/fs/yaffs2/yportenv.h 2006-12-18 22:08:03.000000000 +0100 12924 @@ -0,0 +1,164 @@ 12905 12925 +/* 12906 12926 + * YAFFS: Yet another FFS. A NAND-flash specific file system. … … 12936 12956 + 12937 12957 +/* Linux kernel */ 12938 +#include <linux/config.h>12939 12958 +#include <linux/kernel.h> 12940 12959 +#include <linux/version.h> -
target/linux/rb-2.6/patches/141-yaffs2-checkpointoption.patch
r495b814 r31c8179 1 diff -Naur B linux-2.6.18.2/fs/yaffs2/Kconfig linux-2.6.18.2.patched/fs/yaffs2/Kconfig2 --- linux-2.6.1 8.2/fs/yaffs2/Kconfig 2006-12-11 16:48:01.000000000 +01003 +++ linux-2.6.1 8.2.patched/fs/yaffs2/Kconfig 2006-12-11 16:26:12.000000000 +01004 @@ -90,6 +90,24 @@ 1 diff -Naurp linux-2.6.19.1/fs/yaffs2/Kconfig linux-2.6.19.1.patched/fs/yaffs2/Kconfig 2 --- linux-2.6.19.1/fs/yaffs2/Kconfig 2006-12-18 22:11:59.000000000 +0100 3 +++ linux-2.6.19.1.patched/fs/yaffs2/Kconfig 2006-12-18 22:12:11.000000000 +0100 4 @@ -90,6 +90,24 @@ config YAFFS_DISABLE_LAZY_LOAD 5 5 6 6 If unsure, say N. … … 27 27 bool "Turn off wide tnodes" 28 28 depends on YAFFS_FS 29 diff -Naur B linux-2.6.18.2/fs/yaffs2/moduleconfig.h linux-2.6.18.2.patched/fs/yaffs2/moduleconfig.h30 --- linux-2.6.1 8.2/fs/yaffs2/moduleconfig.h 2006-12-11 16:48:01.000000000 +010031 +++ linux-2.6.1 8.2.patched/fs/yaffs2/moduleconfig.h 2006-12-11 16:26:14.000000000 +010029 diff -Naurp linux-2.6.19.1/fs/yaffs2/moduleconfig.h linux-2.6.19.1.patched/fs/yaffs2/moduleconfig.h 30 --- linux-2.6.19.1/fs/yaffs2/moduleconfig.h 2006-12-18 22:11:59.000000000 +0100 31 +++ linux-2.6.19.1.patched/fs/yaffs2/moduleconfig.h 2006-12-18 22:12:11.000000000 +0100 32 32 @@ -27,6 +27,10 @@ 33 33 /* Meaning: Cache short names, taking more RAM, but faster look-ups */ … … 36 36 +/* Default: 10 */ 37 37 +/* Meaning: set the count of blocks to reserve for checkpointing */ 38 +#define YAFFS_CHECKPOINT_RESERVED_BLOCKS 1038 +#define CONFIG_YAFFS_CHECKPOINT_RESERVED_BLOCKS 10 39 39 + 40 40 #endif /* YAFFS_OUT_OF_TREE */ 41 41 42 42 #endif /* __YAFFS_CONFIG_H__ */ 43 diff -Naur B linux-2.6.18.2/fs/yaffs2/yaffs_fs.c linux-2.6.18.2.patched/fs/yaffs2/yaffs_fs.c44 --- linux-2.6.1 8.2/fs/yaffs2/yaffs_fs.c 2006-12-11 16:48:01.000000000 +010045 +++ linux-2.6.1 8.2.patched/fs/yaffs2/yaffs_fs.c 2006-12-11 16:16:28.000000000 +010046 @@ -16 62,7 +1662,7 @@43 diff -Naurp linux-2.6.19.1/fs/yaffs2/yaffs_fs.c linux-2.6.19.1.patched/fs/yaffs2/yaffs_fs.c 44 --- linux-2.6.19.1/fs/yaffs2/yaffs_fs.c 2006-12-18 22:11:59.000000000 +0100 45 +++ linux-2.6.19.1.patched/fs/yaffs2/yaffs_fs.c 2006-12-18 22:12:11.000000000 +0100 46 @@ -1682,7 +1682,7 @@ static struct super_block *yaffs_interna 47 47 #endif 48 48 nBlocks = mtd->size / mtd->erasesize; -
target/linux/rb-2.6/patches/200-diag.patch
r495b814 r31c8179 1 diff -Naurp linux-2.6.1 8.2/drivers/misc/Kconfig linux-2.6.18.2.patched/drivers/misc/Kconfig2 --- linux-2.6.1 8.2/drivers/misc/Kconfig 2006-11-04 02:33:58.000000000 +01003 +++ linux-2.6.1 8.2.patched/drivers/misc/Kconfig 2006-12-17 19:57:27.721374550 +01004 @@ - 28,5 +28,13 @@ config IBM_ASM1 diff -Naurp linux-2.6.19.1/drivers/misc/Kconfig linux-2.6.19.1.patched/drivers/misc/Kconfig 2 --- linux-2.6.19.1/drivers/misc/Kconfig 2006-12-11 20:32:53.000000000 +0100 3 +++ linux-2.6.19.1.patched/drivers/misc/Kconfig 2006-12-18 19:36:51.000000000 +0100 4 @@ -88,4 +88,12 @@ config MSI_LAPTOP 5 5 6 If unsure, say N.6 If you have an MSI S270 laptop, say Y or M here. 7 7 8 8 +config RB_DIAG … … 15 15 + 16 16 endmenu 17 18 diff -Naurp linux-2.6.18.2/drivers/misc/Makefile linux-2.6.18.2.patched/drivers/misc/Makefile 19 --- linux-2.6.18.2/drivers/misc/Makefile 2006-11-04 02:33:58.000000000 +0100 20 +++ linux-2.6.18.2.patched/drivers/misc/Makefile 2006-12-17 19:57:27.845355702 +0100 21 @@ -5,3 +5,4 @@ obj- := misc.o # Dummy rule to force bui 22 23 obj-$(CONFIG_IBM_ASM) += ibmasm/ 24 obj-$(CONFIG_HDPU_FEATURES) += hdpuftrs/ 25 +obj-$(CONFIG_RB_DIAG) += rb-diag/ 26 diff -Naurp linux-2.6.18.2/drivers/misc/rb-diag/Makefile linux-2.6.18.2.patched/drivers/misc/rb-diag/Makefile 27 --- linux-2.6.18.2/drivers/misc/rb-diag/Makefile 1970-01-01 01:00:00.000000000 +0100 28 +++ linux-2.6.18.2.patched/drivers/misc/rb-diag/Makefile 2006-12-17 19:57:27.874351294 +0100 17 diff -Naurp linux-2.6.19.1/drivers/misc/Makefile linux-2.6.19.1.patched/drivers/misc/Makefile 18 --- linux-2.6.19.1/drivers/misc/Makefile 2006-12-11 20:32:53.000000000 +0100 19 +++ linux-2.6.19.1.patched/drivers/misc/Makefile 2006-12-18 19:37:22.000000000 +0100 20 @@ -10,3 +10,4 @@ obj-$(CONFIG_LKDTM) += lkdtm.o 21 obj-$(CONFIG_TIFM_CORE) += tifm_core.o 22 obj-$(CONFIG_TIFM_7XX1) += tifm_7xx1.o 23 obj-$(CONFIG_SGI_IOC4) += ioc4.o 24 +obj-$(CONFIG_RB_DIAG) += rb-diag/ 25 diff -Naurp linux-2.6.19.1/drivers/misc/rb-diag/Makefile linux-2.6.19.1.patched/drivers/misc/rb-diag/Makefile 26 --- linux-2.6.19.1/drivers/misc/rb-diag/Makefile 1970-01-01 01:00:00.000000000 +0100 27 +++ linux-2.6.19.1.patched/drivers/misc/rb-diag/Makefile 2006-12-18 19:36:51.000000000 +0100 29 28 @@ -0,0 +1,7 @@ 30 29 +# … … 35 34 +obj-$(CONFIG_RB_DIAG) := rb-diag.o 36 35 + 37 diff -Naurp linux-2.6.1 8.2/drivers/misc/rb-diag/rb-diag.c linux-2.6.18.2.patched/drivers/misc/rb-diag/rb-diag.c38 --- linux-2.6.1 8.2/drivers/misc/rb-diag/rb-diag.c 1970-01-01 01:00:00.000000000 +010039 +++ linux-2.6.1 8.2.patched/drivers/misc/rb-diag/rb-diag.c 2006-12-17 19:57:27.900347342+010036 diff -Naurp linux-2.6.19.1/drivers/misc/rb-diag/rb-diag.c linux-2.6.19.1.patched/drivers/misc/rb-diag/rb-diag.c 37 --- linux-2.6.19.1/drivers/misc/rb-diag/rb-diag.c 1970-01-01 01:00:00.000000000 +0100 38 +++ linux-2.6.19.1.patched/drivers/misc/rb-diag/rb-diag.c 2006-12-18 19:36:51.000000000 +0100 40 39 @@ -0,0 +1,147 @@ 41 40 +/*
Note:
See TracChangeset
for help on using the changeset viewer.
