--- linux-2.6.22.14/arch/mips/Kconfig 2008-01-22 14:00:34.000000000 +0200 +++ linux/arch/mips/Kconfig 2008-01-15 11:01:19.000000000 +0200 @@ -656,6 +656,19 @@ config TOSHIBA_RBTX4938 This Toshiba board is based on the TX4938 processor. Say Y here to support this machine type +config MIPS_MIKROTIK + bool "Support for Mikrotik RB boards" + select DMA_NONCOHERENT + select HW_HAS_PCI + select IRQ_CPU + select SYS_HAS_CPU_MIPS32_R1 + select SYS_SUPPORTS_LITTLE_ENDIAN + select SYS_SUPPORTS_BIG_ENDIAN + select SYS_SUPPORTS_32BIT_KERNEL + select ZONE_DMA + help + Say Y here to support all Mikrotik mips based routerboards + endchoice source "arch/mips/au1000/Kconfig" @@ -911,7 +924,7 @@ config BOOT_ELF32 config MIPS_L1_CACHE_SHIFT int - default "4" if MACH_DECSTATION || SNI_RM + default "4" if MACH_DECSTATION || SNI_RM || MIPS_MIKROTIK default "7" if SGI_IP27 default "5" @@ -948,7 +961,7 @@ config CPU_MIPS32_R1 bool "MIPS32 Release 1" depends on SYS_HAS_CPU_MIPS32_R1 select CPU_HAS_LLSC - select CPU_HAS_PREFETCH +# select CPU_HAS_PREFETCH select CPU_SUPPORTS_32BIT_KERNEL select CPU_SUPPORTS_HIGHMEM help