--- linux-2.6.22.14/drivers/serial/8250.c 2008-01-22 14:01:01.000000000 +0200 +++ linux/drivers/serial/8250.c 2008-01-15 11:01:32.000000000 +0200 @@ -44,6 +44,10 @@ #include #include +#ifdef CONFIG_MIPS_MIKROTIK +#include +#endif + #include "8250.h" /* @@ -2852,6 +2856,10 @@ static int __init serial8250_init(void) if (nr_uarts > UART_NR) nr_uarts = UART_NR; +#ifdef CONFIG_MIPS_MIKROTIK + if (mips_machgroup == MACH_GROUP_MT_RB100) return -1; +#endif + printk(KERN_INFO "Serial: 8250/16550 driver $Revision: 1.90 $ " "%d ports, IRQ sharing %sabled\n", nr_uarts, share_irqs ? "en" : "dis");