Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
- index f4af967..1b8b00c 100644
- --- a/arch/mips/Kconfig
- +++ b/arch/mips/Kconfig
- @@ -60,6 +60,26 @@ config BCM47XX
- help
- Support for BCM47XX based boards
- +config CISCO_3600
- + bool "Cisco 3600 Series Routers"
- + select CEVT_R4K
- + select CSRC_R4K
- + select CEVT_GT641XX
- + select DMA_NONCOHERENT
- + select HW_HAS_PCI
- + select IRQ_CPU
- + select IRQ_GT641XX
- + select PCI_GT64XXX_PCI0
- + select SYS_HAS_CPU_R4X00
- + select SYS_HAS_EARLY_PRINTK
- + select SYS_SUPPORTS_32BIT_KERNEL
- + select SYS_SUPPORTS_64BIT_KERNEL
- + select SYS_SUPPORTS_BIG_ENDIAN
- + select GENERIC_HARDIRQS_NO__DO_IRQ
- + select SERIAL_8250
- + help
- + Support for the Cisco 3600 Series Multiservice Routers.
- +
- config MIPS_COBALT
- bool "Cobalt Server"
- select CEVT_R4K
- diff --git a/arch/mips/Makefile b/arch/mips/Makefile
- index 28c55f6..9bcb5ed 100644
- --- a/arch/mips/Makefile
- +++ b/arch/mips/Makefile
- @@ -278,6 +278,13 @@ libs-$(CONFIG_MIPS_XXS1500) += arch/mips/alchemy/xxs1500/
- load-$(CONFIG_MIPS_XXS1500) += 0xffffffff80100000
- #
- +# Cisco 3600 Series Routers
- +#
- +core-$(CONFIG_CISCO_3600) += arch/mips/cisco3600/
- +cflags-$(CONFIG_CISCO_3600) += -I$(srctree)/arch/mips/include/asm/mach-cisco3600
- +load-$(CONFIG_CISCO_3600) += 0xffffffff80028000
- +
- +#
- # Cobalt Server
- #
- core-$(CONFIG_MIPS_COBALT) += arch/mips/cobalt/
- diff --git a/arch/mips/cisco3600/Makefile b/arch/mips/cisco3600/Makefile
- new file mode 100644
- index 0000000..26a344f
- --- /dev/null
- +++ b/arch/mips/cisco3600/Makefile
- @@ -0,0 +1,11 @@
- +#
- +# Makefile for the Cisco 3600 Series Routers
- +#
- +
- +obj-y := irq.o led.o reset.o serial.o setup.o time.o
- +
- +obj-$(CONFIG_PCI) += pci.o
- +obj-$(CONFIG_EARLY_PRINTK) += console.o
- +# obj-$(CONFIG_MTD_PHYSMAP) += mtd.o
- +
- +EXTRA_CFLAGS += -Werror
- diff --git a/arch/mips/cisco3600/console.c b/arch/mips/cisco3600/console.c
- new file mode 100644
- index 0000000..361d24f
- --- /dev/null
- +++ b/arch/mips/cisco3600/console.c
- @@ -0,0 +1,34 @@
- +/*
- + * Early console support for the Cisco 3600 Series Routers
- + * Copyright (c) 2008 Philippe Vachon (philippe@cowpig.ca)
- + *
- + * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
- + * USA
- + */
- +
- +#include <linux/io.h>
- +#include <linux/serial_reg.h>
- +
- +#include <c3600.h>
- +
- +#define UART_BASE ((void __iomem *)CKSEG1ADDR(0x1e840000))
- +
- +void prom_putchar(char c)
- +{
- + while (!(readb(UART_BASE + (UART_LSR << 3)) & UART_LSR_THRE))
- + ;
- +
- + writeb(c, UART_BASE + UART_TX);
- +}
- diff --git a/arch/mips/cisco3600/irq.c b/arch/mips/cisco3600/irq.c
- new file mode 100644
- index 0000000..40f7c65
- --- /dev/null
- +++ b/arch/mips/cisco3600/irq.c
- @@ -0,0 +1,66 @@
- +/*
- + * IRQ vector handles
- + *
- + * 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.
- + *
- + * Copyright (C) 1995, 1996, 1997, 2003 by Ralf Baechle
- + * Copyright (C) 2008 Philippe Vachon (philippe@cowpig.ca)
- + */
- +#include <linux/kernel.h>
- +#include <linux/init.h>
- +#include <linux/irq.h>
- +#include <linux/interrupt.h>
- +#include <linux/pci.h>
- +
- +#include <asm/irq_cpu.h>
- +#include <asm/irq_gt641xx.h>
- +#include <asm/gt64120.h>
- +
- +#include <irq.h>
- +
- +#include <linux/io.h>
- +
- +#include <linux/io.h>
- +#include <linux/serial_reg.h>
- +
- +#include <c3600.h>
- +
- +asmlinkage void plat_irq_dispatch(void)
- +{
- + unsigned pending = read_c0_status() & read_c0_cause() & ST0_IM;
- +
- + if (pending & CAUSEF_IP2) /* Network I/O IRQ */
- + do_IRQ(MIPS_CPU_IRQ_BASE + 2);
- + else if (pending & CAUSEF_IP3) /* unk. */
- + do_IRQ(MIPS_CPU_IRQ_BASE + 3);
- + else if (pending & CAUSEF_IP4) /* GT64010 IRQ */
- + gt641xx_irq_dispatch();
- + else if (pending & CAUSEF_IP5) /* DUART IRQ */
- + do_IRQ(MIPS_CPU_IRQ_BASE + 5);
- + else if (pending & CAUSEF_IP6) /* unk. */
- + do_IRQ(MIPS_CPU_IRQ_BASE + 6);
- + else if (pending & CAUSEF_IP7) /* unknown */
- + do_IRQ(MIPS_CPU_IRQ_BASE + 7);
- + else
- + spurious_interrupt();
- +}
- +
- +static struct irqaction cascade = {
- + .handler = no_action,
- + .mask = CPU_MASK_NONE,
- + .name = "cascade",
- +};
- +
- +void __init arch_init_irq(void)
- +{
- + uint8_t iofpga_irq = 0;
- + mips_cpu_irq_init();
- + gt641xx_irq_init();
- +
- + /* touch the IOFPGA interrupt register before enabling IRQs */
- + iofpga_irq = C3600_IOFPGA_READB(C3600_EXT_INT_REG);
- +
- + setup_irq(GT641XX_CASCADE_IRQ, &cascade);
- +}
- diff --git a/arch/mips/cisco3600/led.c b/arch/mips/cisco3600/led.c
- new file mode 100644
- index 0000000..4fac954
- --- /dev/null
- +++ b/arch/mips/cisco3600/led.c
- @@ -0,0 +1,64 @@
- +/*
- + * Registration of Cobalt LED platform device.
- + *
- + * Copyright (C) 2007 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
- + *
- + * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- + */
- +#include <linux/errno.h>
- +#include <linux/init.h>
- +#include <linux/ioport.h>
- +#include <linux/platform_device.h>
- +
- +#include <c3600.h>
- +
- +/* TODO: determine where the Cisco 3600 LED resources reside */
- +
- +static struct resource c3600_led_resource __initdata = {
- + .start = 0x1c000000,
- + .end = 0x1c000000,
- + .flags = IORESOURCE_MEM,
- +};
- +
- +static __init int c3600_led_add(void)
- +{
- + struct platform_device *pdev;
- + int retval;
- +
- + /*if (cobalt_board_id == COBALT_BRD_ID_QUBE1 ||
- + cobalt_board_id == COBALT_BRD_ID_QUBE2)
- + pdev = platform_device_alloc("cobalt-qube-leds", -1);
- + else */
- + pdev = platform_device_alloc("cisco-3600-leds", -1);
- +
- + if (!pdev)
- + return -ENOMEM;
- +
- + retval = platform_device_add_resources(pdev, &c3600_led_resource, 1);
- + if (retval)
- + goto err_free_device;
- +
- + retval = platform_device_add(pdev);
- + if (retval)
- + goto err_free_device;
- +
- + return 0;
- +
- +err_free_device:
- + platform_device_put(pdev);
- +
- + return retval;
- +}
- +device_initcall(c3600_led_add);
- diff --git a/arch/mips/cisco3600/mtd.c b/arch/mips/cisco3600/mtd.c
- new file mode 100644
- index 0000000..2b088ef
- --- /dev/null
- +++ b/arch/mips/cisco3600/mtd.c
- @@ -0,0 +1,61 @@
- +/*
- + * Registration of Cobalt MTD device.
- + *
- + * Copyright (C) 2006 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
- + *
- + * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- + */
- +#include <linux/init.h>
- +#include <linux/platform_device.h>
- +#include <linux/mtd/partitions.h>
- +#include <linux/mtd/physmap.h>
- +
- +static struct mtd_partition cobalt_mtd_partitions[] = {
- + {
- + .name = "firmware",
- + .offset = 0x0,
- + .size = 0x80000,
- + },
- +};
- +
- +static struct physmap_flash_data cobalt_flash_data = {
- + .width = 1,
- + .nr_parts = 1,
- + .parts = cobalt_mtd_partitions,
- +};
- +
- +static struct resource cobalt_mtd_resource = {
- + .start = 0x1fc00000,
- + .end = 0x1fc7ffff,
- + .flags = IORESOURCE_MEM,
- +};
- +
- +static struct platform_device cobalt_mtd = {
- + .name = "physmap-flash",
- + .dev = {
- + .platform_data = &cobalt_flash_data,
- + },
- + .num_resources = 1,
- + .resource = &cobalt_mtd_resource,
- +};
- +
- +static int __init cobalt_mtd_init(void)
- +{
- + platform_device_register(&cobalt_mtd);
- +
- + return 0;
- +}
- +
- +module_init(cobalt_mtd_init);
- diff --git a/arch/mips/cisco3600/pci.c b/arch/mips/cisco3600/pci.c
- new file mode 100644
- index 0000000..91b53f1
- --- /dev/null
- +++ b/arch/mips/cisco3600/pci.c
- @@ -0,0 +1,51 @@
- +/*
- + * Register PCI controller.
- + *
- + * 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.
- + *
- + * Copyright (C) 1996, 1997, 2004, 05 by Ralf Baechle (ralf@linux-mips.org)
- + * Copyright (C) 2001, 2002, 2003 by Liam Davies (ldavies@agile.tv)
- + * Copyright (C) 2008 Philippe Vachon (philippe@cowpig.ca)
- + *
- + */
- +#include <linux/init.h>
- +#include <linux/pci.h>
- +
- +#include <c3600.h>
- +
- +#include <asm/gt64120.h>
- +
- +extern struct pci_ops gt64xxx_pci0_ops;
- +
- +static struct resource c3600_mem_resource = {
- + .start = /* C3600_PCI_IO */ GT_DEF_PCI0_MEM0_BASE,
- + .end = /* C3600_PCI_IO */ GT_DEF_PCI0_MEM0_BASE + GT_DEF_PCI0_MEM0_SIZE - 1,
- + .name = "PCI memory",
- + .flags = IORESOURCE_MEM,
- +};
- +
- +static struct resource c3600_io_resource = {
- + .start = 0x1000,
- + .end = GT_DEF_PCI0_IO_SIZE - 1,
- + .name = "PCI I/O",
- + .flags = IORESOURCE_IO,
- +};
- +
- +static struct pci_controller c3600_pci_controller = {
- + .pci_ops = >64xxx_pci0_ops,
- + .mem_resource = &c3600_mem_resource,
- + .io_resource = &c3600_io_resource,
- + .io_offset = 0 - /* C3600_PCI_IO, */ GT_DEF_PCI0_MEM0_BASE,
- + .io_map_base = CKSEG1ADDR(C3600_PCI_IO),
- +};
- +
- +static int __init c3600_pci_init(void)
- +{
- + register_pci_controller(&c3600_pci_controller);
- +
- + return 0;
- +}
- +
- +arch_initcall(c3600_pci_init);
- diff --git a/arch/mips/cisco3600/reset.c b/arch/mips/cisco3600/reset.c
- new file mode 100644
- index 0000000..73180c3
- --- /dev/null
- +++ b/arch/mips/cisco3600/reset.c
- @@ -0,0 +1,53 @@
- +/*
- + * Cobalt Reset operations
- + *
- + * 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.
- + *
- + * Copyright (C) 1995, 1996, 1997 by Ralf Baechle
- + * Copyright (C) 2001 by Liam Davies (ldavies@agile.tv)
- + * Copyright (c) 2009 by Philippe Vachon (philippe@cowpig.ca)
- + */
- +#include <linux/init.h>
- +#include <linux/io.h>
- +#include <linux/leds.h>
- +
- +#include <asm/processor.h>
- +#include <asm/cacheflush.h>
- +
- +#include <c3600.h>
- +
- +#define RESET_ADDR 0xbfc00000
- +
- +/* DEFINE_LED_TRIGGER(power_off_led_trigger); */
- +
- +static int __init ledtrig_power_off_init(void)
- +{
- + /*led_trigger_register_simple("power-off", &power_off_led_trigger);*/
- + return 0;
- +}
- +device_initcall(ledtrig_power_off_init);
- +
- +void c3600_machine_halt(void)
- +{
- + /* led_trigger_event(power_off_led_trigger, LED_FULL); */
- + printk("c3600_machine_halt: halting system.\n");
- +
- + local_irq_disable();
- + while (1) {
- + if (cpu_wait)
- + cpu_wait();
- + }
- +}
- +
- +void c3600_machine_restart(char *command)
- +{
- + set_c0_status(ST0_BEV);
- + __flush_cache_all();
- +
- + ((void (*)(void))(RESET_ADDR))();
- +
- + /* we should never get here */
- + c3600_machine_halt();
- +}
- diff --git a/arch/mips/cisco3600/serial.c b/arch/mips/cisco3600/serial.c
- new file mode 100644
- index 0000000..0dc92b1
- --- /dev/null
- +++ b/arch/mips/cisco3600/serial.c
- @@ -0,0 +1,81 @@
- +/*
- + * Registration of the Cisco 3620 UART devices
- + * (c) 2008 Philippe Vachon <philippe@cowpig.ca>
- + *
- + * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- + */
- +#include <linux/errno.h>
- +#include <linux/init.h>
- +#include <linux/ioport.h>
- +#include <linux/platform_device.h>
- +#include <linux/serial_8250.h>
- +
- +#include <c3600.h>
- +#include <irq.h>
- +
- +static struct resource c3600_uart_resource[] __initdata = {
- + {
- + .start = C3600_DUART,
- + .end = C3600_DUART + 0x1000,
- + .flags = IORESOURCE_MEM,
- + },
- + {
- + .start = SERIAL_IRQ,
- + .end = SERIAL_IRQ,
- + .flags = IORESOURCE_IRQ,
- + },
- +};
- +
- +static struct plat_serial8250_port c3600_serial8250_port[] = {
- + {
- + .irq = SERIAL_IRQ,
- + .uartclk = /* 18432000 */ 3686400,
- + .iotype = UPIO_MEM,
- + .flags = UPF_IOREMAP | UPF_BOOT_AUTOCONF | UPF_SKIP_TEST,
- + .mapbase = C3600_DUART,
- + .regshift = 3,
- + },
- + {},
- +};
- +
- +static __init int c3600_uart_add(void)
- +{
- + struct platform_device *pdev;
- + int retval;
- +
- + pdev = platform_device_alloc("serial8250", -1);
- + if (!pdev)
- + return -ENOMEM;
- +
- + pdev->id = PLAT8250_DEV_PLATFORM;
- + pdev->dev.platform_data = c3600_serial8250_port;
- +
- + retval = platform_device_add_resources(pdev, c3600_uart_resource,
- + ARRAY_SIZE(c3600_uart_resource));
- + if (retval)
- + goto err_free_device;
- +
- + retval = platform_device_add(pdev);
- + if (retval)
- + goto err_free_device;
- +
- + return 0;
- +
- +err_free_device:
- + platform_device_put(pdev);
- +
- + return retval;
- +}
- +device_initcall(c3600_uart_add);
- diff --git a/arch/mips/cisco3600/setup.c b/arch/mips/cisco3600/setup.c
- new file mode 100644
- index 0000000..df2e64c
- --- /dev/null
- +++ b/arch/mips/cisco3600/setup.c
- @@ -0,0 +1,92 @@
- +/*
- + * Setup pointers to hardware dependent routines.
- + *
- + * 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.
- + *
- + * Copyright (C) 1996, 1997, 2004, 05 by Ralf Baechle (ralf@linux-mips.org)
- + * Copyright (C) 2001, 2002, 2003 by Liam Davies (ldavies@agile.tv)
- + * Copyright (c) 2008 Philippe Vachon (philippe@cowpig.ca)
- + *
- + */
- +#include <linux/init.h>
- +#include <linux/interrupt.h>
- +#include <linux/io.h>
- +#include <linux/ioport.h>
- +#include <linux/pm.h>
- +#include <linux/console.h>
- +
- +#include <asm/bootinfo.h>
- +#include <asm/reboot.h>
- +#include <asm/gt64120.h>
- +
- +#include <c3600.h>
- +
- +int c3600_board_id;
- +void *c3600_iofpga_loc;
- +
- +extern void c3600_machine_restart(char *command);
- +extern void c3600_machine_halt(void);
- +
- +const char *get_system_type(void)
- +{
- + switch (c3600_board_id)
- + {
- + case C3600_BRD_ID_3620:
- + return "Cisco 3620 Multiservice Router";
- + case C3600_BRD_ID_3640:
- + return "Cisco 3640 Multiservice Router";
- + case C3600_BRD_ID_3660:
- + return "Cisco 3660 Multiservice Router";
- + default:
- + return "Cisco 3600 Multiservice Router";
- + }
- +}
- +
- +void __init plat_mem_setup(void)
- +{
- + _machine_restart = c3600_machine_restart;
- + _machine_halt = c3600_machine_halt;
- + pm_power_off = c3600_machine_halt;
- +
- + set_io_port_base(CKSEG1ADDR(GT_DEF_PCI0_IO_BASE));
- +
- + /* I/O port resource */
- + ioport_resource.end = 0x01ffffff;
- +
- +}
- +
- +/* Process the CILO command line, determine the amount of memory available on
- + * this Cisco 3600.
- + */
- +void __init prom_init(void)
- +{
- + /* int narg, indx, posn, nchr; */
- + uint32_t memsz = fw_arg0;
- + uint32_t strlen_cmd;
- + char *cmd_line = (char *)fw_arg1;
- +
- + /* remap MMIO registers within the IOFPGA */
- + c3600_iofpga_loc = ioremap_nocache(C3600_BOARD_REGS,
- + C3600_BOARD_REGS_SIZE);
- +
- + /* determine which variety of Cisco 3600 we're running on */
- + c3600_board_id = C3600_IOFPGA_READB(C3600_BOARD_ID_REG);
- +
- + /* print out some information about the platform */
- + printk(KERN_INFO "%s with %dkB of RAM.\n", get_system_type(),
- + memsz/1024);
- +
- + /* process the command line passed in from CILO */
- + strlen_cmd = strlen(cmd_line);
- + strcat(arcs_cmdline, cmd_line);
- +
- + add_memory_region(0x0, memsz, BOOT_MEM_RAM);
- +
- +}
- +
- +void __init prom_free_prom_memory(void)
- +{
- + /* Nothing to do! */
- +}
- diff --git a/arch/mips/cisco3600/time.c b/arch/mips/cisco3600/time.c
- new file mode 100644
- index 0000000..8ea2f59
- --- /dev/null
- +++ b/arch/mips/cisco3600/time.c
- @@ -0,0 +1,56 @@
- +/*
- + * Cisco 3600 time initialization.
- + *
- + * Copyright (C) 2007 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
- + * Copyright (c) 2008 Philippe Vachon <philippe@cowpig.ca>
- + *
- + * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- + */
- +#include <linux/init.h>
- +
- +#include <asm/gt64120.h>
- +#include <asm/time.h>
- +
- +#define GT641XX_BASE_CLOCK 40000000 /* 40MHz */
- +
- +void __init plat_time_init(void)
- +{
- + u32 start, end;
- + int i = HZ / 10;
- +
- + gt641xx_set_base_clock(GT641XX_BASE_CLOCK);
- +
- + /*
- + * MIPS counter frequency is measured during a 100msec interval
- + * using GT64010 timer0.
- + */
- + GT_WRITE(GT_TC0_OFS, GT641XX_BASE_CLOCK / HZ);
- + GT_WRITE(GT_TC_CONTROL_OFS, GT_TC_CONTROL_ENTC0_MSK);
- +
- +
- + while (!gt641xx_timer0_state())
- + ;
- +
- + start = read_c0_count();
- +
- + while (i--)
- + while (!gt641xx_timer0_state())
- + ;
- +
- + end = read_c0_count();
- +
- + mips_hpt_frequency = (end - start) * 10;
- + printk(KERN_INFO "MIPS counter frequency: %dHz\n", mips_hpt_frequency);
- +}
- diff --git a/arch/mips/configs/cisco3600_defconfig b/arch/mips/configs/cisco3600_defconfig
- new file mode 100644
- index 0000000..c13e70b
- --- /dev/null
- +++ b/arch/mips/configs/cisco3600_defconfig
- @@ -0,0 +1,1540 @@
- +#
- +# Automatically generated make config: don't edit
- +# Linux kernel version: 2.6.28-rc9
- +# Wed Dec 31 19:27:16 2008
- +#
- +CONFIG_MIPS=y
- +
- +#
- +# Machine selection
- +#
- +# CONFIG_MACH_ALCHEMY is not set
- +# CONFIG_BASLER_EXCITE is not set
- +# CONFIG_BCM47XX is not set
- +CONFIG_CISCO_3600=y
- +# CONFIG_MIPS_COBALT is not set
- +# CONFIG_MACH_DECSTATION is not set
- +# CONFIG_MACH_JAZZ is not set
- +# CONFIG_LASAT is not set
- +# CONFIG_LEMOTE_FULONG is not set
- +# CONFIG_MIPS_MALTA is not set
- +# CONFIG_MIPS_SIM is not set
- +# CONFIG_MACH_EMMA is not set
- +# CONFIG_MACH_VR41XX is not set
- +# CONFIG_NXP_STB220 is not set
- +# CONFIG_NXP_STB225 is not set
- +# CONFIG_PNX8550_JBS is not set
- +# CONFIG_PNX8550_STB810 is not set
- +# CONFIG_PMC_MSP is not set
- +# CONFIG_PMC_YOSEMITE is not set
- +# CONFIG_SGI_IP22 is not set
- +# CONFIG_SGI_IP27 is not set
- +# CONFIG_SGI_IP28 is not set
- +# CONFIG_SGI_IP32 is not set
- +# CONFIG_SIBYTE_CRHINE is not set
- +# CONFIG_SIBYTE_CARMEL is not set
- +# CONFIG_SIBYTE_CRHONE is not set
- +# CONFIG_SIBYTE_RHONE is not set
- +# CONFIG_SIBYTE_SWARM is not set
- +# CONFIG_SIBYTE_LITTLESUR is not set
- +# CONFIG_SIBYTE_SENTOSA is not set
- +# CONFIG_SIBYTE_BIGSUR is not set
- +# CONFIG_SNI_RM is not set
- +# CONFIG_MACH_TX39XX is not set
- +# CONFIG_MACH_TX49XX is not set
- +# CONFIG_MIKROTIK_RB532 is not set
- +# CONFIG_WR_PPMC is not set
- +CONFIG_RWSEM_GENERIC_SPINLOCK=y
- +# CONFIG_ARCH_HAS_ILOG2_U32 is not set
- +# CONFIG_ARCH_HAS_ILOG2_U64 is not set
- +CONFIG_ARCH_SUPPORTS_OPROFILE=y
- +CONFIG_GENERIC_FIND_NEXT_BIT=y
- +CONFIG_GENERIC_HWEIGHT=y
- +CONFIG_GENERIC_CALIBRATE_DELAY=y
- +CONFIG_GENERIC_CLOCKEVENTS=y
- +CONFIG_GENERIC_TIME=y
- +CONFIG_GENERIC_CMOS_UPDATE=y
- +CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
- +CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
- +CONFIG_CEVT_GT641XX=y
- +CONFIG_CEVT_R4K=y
- +CONFIG_CSRC_R4K=y
- +CONFIG_DMA_NONCOHERENT=y
- +CONFIG_DMA_NEED_PCI_MAP_STATE=y
- +CONFIG_EARLY_PRINTK=y
- +CONFIG_SYS_HAS_EARLY_PRINTK=y
- +# CONFIG_HOTPLUG_CPU is not set
- +# CONFIG_NO_IOPORT is not set
- +CONFIG_CPU_BIG_ENDIAN=y
- +# CONFIG_CPU_LITTLE_ENDIAN is not set
- +CONFIG_SYS_SUPPORTS_BIG_ENDIAN=y
- +CONFIG_IRQ_CPU=y
- +CONFIG_IRQ_GT641XX=y
- +CONFIG_PCI_GT64XXX_PCI0=y
- +CONFIG_MIPS_L1_CACHE_SHIFT=5
- +
- +#
- +# CPU selection
- +#
- +# CONFIG_CPU_LOONGSON2 is not set
- +# CONFIG_CPU_MIPS32_R1 is not set
- +# CONFIG_CPU_MIPS32_R2 is not set
- +# CONFIG_CPU_MIPS64_R1 is not set
- +# CONFIG_CPU_MIPS64_R2 is not set
- +# CONFIG_CPU_R3000 is not set
- +# CONFIG_CPU_TX39XX is not set
- +# CONFIG_CPU_VR41XX is not set
- +# CONFIG_CPU_R4300 is not set
- +CONFIG_CPU_R4X00=y
- +# CONFIG_CPU_TX49XX is not set
- +# CONFIG_CPU_R5000 is not set
- +# CONFIG_CPU_R5432 is not set
- +# CONFIG_CPU_R5500 is not set
- +# CONFIG_CPU_R6000 is not set
- +# CONFIG_CPU_NEVADA is not set
- +# CONFIG_CPU_R8000 is not set
- +# CONFIG_CPU_R10000 is not set
- +# CONFIG_CPU_RM7000 is not set
- +# CONFIG_CPU_RM9000 is not set
- +# CONFIG_CPU_SB1 is not set
- +CONFIG_SYS_HAS_CPU_R4X00=y
- +CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y
- +CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
- +CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y
- +
- +#
- +# Kernel type
- +#
- +CONFIG_32BIT=y
- +# CONFIG_64BIT is not set
- +CONFIG_PAGE_SIZE_4KB=y
- +# CONFIG_PAGE_SIZE_8KB is not set
- +# CONFIG_PAGE_SIZE_16KB is not set
- +# CONFIG_PAGE_SIZE_64KB is not set
- +CONFIG_MIPS_MT_DISABLED=y
- +# CONFIG_MIPS_MT_SMP is not set
- +# CONFIG_MIPS_MT_SMTC is not set
- +CONFIG_CPU_HAS_LLSC=y
- +CONFIG_CPU_HAS_SYNC=y
- +CONFIG_GENERIC_HARDIRQS=y
- +CONFIG_GENERIC_IRQ_PROBE=y
- +CONFIG_ARCH_FLATMEM_ENABLE=y
- +CONFIG_ARCH_POPULATES_NODE_MAP=y
- +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_TICK_ONESHOT=y
- +CONFIG_NO_HZ=y
- +CONFIG_HIGH_RES_TIMERS=y
- +CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
- +# CONFIG_HZ_48 is not set
- +# CONFIG_HZ_100 is not set
- +# CONFIG_HZ_128 is not set
- +CONFIG_HZ_250=y
- +# CONFIG_HZ_256 is not set
- +# CONFIG_HZ_1000 is not set
- +# CONFIG_HZ_1024 is not set
- +CONFIG_SYS_SUPPORTS_ARBIT_HZ=y
- +CONFIG_HZ=250
- +# CONFIG_PREEMPT_NONE is not set
- +CONFIG_PREEMPT_VOLUNTARY=y
- +# CONFIG_PREEMPT is not set
- +CONFIG_KEXEC=y
- +CONFIG_SECCOMP=y
- +CONFIG_LOCKDEP_SUPPORT=y
- +CONFIG_STACKTRACE_SUPPORT=y
- +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 is not set
- +CONFIG_SWAP=y
- +CONFIG_SYSVIPC=y
- +CONFIG_SYSVIPC_SYSCTL=y
- +CONFIG_POSIX_MQUEUE=y
- +CONFIG_BSD_PROCESS_ACCT=y
- +CONFIG_BSD_PROCESS_ACCT_V3=y
- +CONFIG_TASKSTATS=y
- +# CONFIG_TASK_DELAY_ACCT is not set
- +CONFIG_TASK_XACCT=y
- +CONFIG_TASK_IO_ACCOUNTING=y
- +CONFIG_AUDIT=y
- +# CONFIG_IKCONFIG is not set
- +CONFIG_LOG_BUF_SHIFT=17
- +CONFIG_CGROUPS=y
- +# CONFIG_CGROUP_DEBUG is not set
- +CONFIG_CGROUP_NS=y
- +# CONFIG_CGROUP_FREEZER is not set
- +# CONFIG_CGROUP_DEVICE is not set
- +# CONFIG_GROUP_SCHED is not set
- +CONFIG_CGROUP_CPUACCT=y
- +# CONFIG_RESOURCE_COUNTERS is not set
- +CONFIG_SYSFS_DEPRECATED=y
- +CONFIG_SYSFS_DEPRECATED_V2=y
- +CONFIG_RELAY=y
- +# CONFIG_NAMESPACES is not set
- +CONFIG_BLK_DEV_INITRD=y
- +CONFIG_INITRAMFS_SOURCE=""
- +# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
- +CONFIG_SYSCTL=y
- +CONFIG_EMBEDDED=y
- +CONFIG_SYSCTL_SYSCALL=y
- +CONFIG_KALLSYMS=y
- +# CONFIG_KALLSYMS_EXTRA_PASS is not set
- +CONFIG_HOTPLUG=y
- +CONFIG_PRINTK=y
- +CONFIG_BUG=y
- +CONFIG_ELF_CORE=y
- +CONFIG_PCSPKR_PLATFORM=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_PCI_QUIRKS=y
- +CONFIG_SLUB_DEBUG=y
- +# CONFIG_SLAB is not set
- +CONFIG_SLUB=y
- +# CONFIG_SLOB is not set
- +CONFIG_PROFILING=y
- +# CONFIG_MARKERS is not set
- +CONFIG_OPROFILE=m
- +CONFIG_HAVE_OPROFILE=y
- +# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
- +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=y
- +CONFIG_MODULE_SRCVERSION_ALL=y
- +CONFIG_KMOD=y
- +CONFIG_BLOCK=y
- +CONFIG_LBD=y
- +CONFIG_BLK_DEV_IO_TRACE=y
- +# 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=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_PROBE_INITRD_HEADER is not set
- +# CONFIG_FREEZER is not set
- +
- +#
- +# Bus options (PCI, PCMCIA, EISA, ISA, TC)
- +#
- +CONFIG_HW_HAS_PCI=y
- +CONFIG_PCI=y
- +CONFIG_PCI_DOMAINS=y
- +# CONFIG_ARCH_SUPPORTS_MSI is not set
- +CONFIG_PCI_LEGACY=y
- +CONFIG_MMU=y
- +# CONFIG_PCCARD is not set
- +# CONFIG_HOTPLUG_PCI is not set
- +
- +#
- +# Executable file formats
- +#
- +CONFIG_BINFMT_ELF=y
- +# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
- +# CONFIG_HAVE_AOUT is not set
- +# CONFIG_BINFMT_MISC is not set
- +CONFIG_TRAD_SIGNALS=y
- +
- +#
- +# Power management options
- +#
- +CONFIG_ARCH_SUSPEND_POSSIBLE=y
- +# CONFIG_PM is not set
- +CONFIG_NET=y
- +
- +#
- +# Networking options
- +#
- +CONFIG_PACKET=m
- +CONFIG_PACKET_MMAP=y
- +CONFIG_UNIX=y
- +CONFIG_XFRM=y
- +CONFIG_XFRM_USER=m
- +# CONFIG_XFRM_SUB_POLICY is not set
- +# CONFIG_XFRM_MIGRATE is not set
- +# CONFIG_XFRM_STATISTICS is not set
- +CONFIG_XFRM_IPCOMP=m
- +CONFIG_NET_KEY=m
- +# CONFIG_NET_KEY_MIGRATE is not set
- +CONFIG_INET=y
- +CONFIG_IP_MULTICAST=y
- +CONFIG_IP_ADVANCED_ROUTER=y
- +CONFIG_ASK_IP_FIB_HASH=y
- +# CONFIG_IP_FIB_TRIE is not set
- +CONFIG_IP_FIB_HASH=y
- +CONFIG_IP_MULTIPLE_TABLES=y
- +CONFIG_IP_ROUTE_MULTIPATH=y
- +CONFIG_IP_ROUTE_VERBOSE=y
- +# CONFIG_IP_PNP is not set
- +CONFIG_NET_IPIP=m
- +CONFIG_NET_IPGRE=m
- +CONFIG_NET_IPGRE_BROADCAST=y
- +CONFIG_IP_MROUTE=y
- +CONFIG_IP_PIMSM_V1=y
- +CONFIG_IP_PIMSM_V2=y
- +# CONFIG_ARPD is not set
- +CONFIG_SYN_COOKIES=y
- +CONFIG_INET_AH=m
- +CONFIG_INET_ESP=m
- +CONFIG_INET_IPCOMP=m
- +CONFIG_INET_XFRM_TUNNEL=m
- +CONFIG_INET_TUNNEL=m
- +CONFIG_INET_XFRM_MODE_TRANSPORT=m
- +CONFIG_INET_XFRM_MODE_TUNNEL=m
- +CONFIG_INET_XFRM_MODE_BEET=m
- +CONFIG_INET_LRO=m
- +CONFIG_INET_DIAG=y
- +CONFIG_INET_TCP_DIAG=y
- +CONFIG_TCP_CONG_ADVANCED=y
- +CONFIG_TCP_CONG_BIC=m
- +CONFIG_TCP_CONG_CUBIC=m
- +CONFIG_TCP_CONG_WESTWOOD=m
- +CONFIG_TCP_CONG_HTCP=m
- +CONFIG_TCP_CONG_HSTCP=m
- +CONFIG_TCP_CONG_HYBLA=m
- +CONFIG_TCP_CONG_VEGAS=m
- +CONFIG_TCP_CONG_SCALABLE=m
- +CONFIG_TCP_CONG_LP=m
- +CONFIG_TCP_CONG_VENO=m
- +CONFIG_TCP_CONG_YEAH=m
- +CONFIG_TCP_CONG_ILLINOIS=m
- +# CONFIG_DEFAULT_BIC is not set
- +# CONFIG_DEFAULT_CUBIC is not set
- +# CONFIG_DEFAULT_HTCP is not set
- +# CONFIG_DEFAULT_VEGAS is not set
- +# CONFIG_DEFAULT_WESTWOOD is not set
- +CONFIG_DEFAULT_RENO=y
- +CONFIG_DEFAULT_TCP_CONG="reno"
- +CONFIG_TCP_MD5SIG=y
- +CONFIG_IPV6=m
- +CONFIG_IPV6_PRIVACY=y
- +# CONFIG_IPV6_ROUTER_PREF is not set
- +# CONFIG_IPV6_OPTIMISTIC_DAD is not set
- +CONFIG_INET6_AH=m
- +CONFIG_INET6_ESP=m
- +CONFIG_INET6_IPCOMP=m
- +# CONFIG_IPV6_MIP6 is not set
- +CONFIG_INET6_XFRM_TUNNEL=m
- +CONFIG_INET6_TUNNEL=m
- +CONFIG_INET6_XFRM_MODE_TRANSPORT=m
- +CONFIG_INET6_XFRM_MODE_TUNNEL=m
- +CONFIG_INET6_XFRM_MODE_BEET=m
- +CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=m
- +CONFIG_IPV6_SIT=m
- +CONFIG_IPV6_NDISC_NODETYPE=y
- +CONFIG_IPV6_TUNNEL=m
- +# CONFIG_IPV6_MULTIPLE_TABLES is not set
- +# CONFIG_IPV6_MROUTE is not set
- +# CONFIG_NETLABEL is not set
- +CONFIG_NETWORK_SECMARK=y
- +CONFIG_NETFILTER=y
- +# CONFIG_NETFILTER_DEBUG is not set
- +CONFIG_NETFILTER_ADVANCED=y
- +CONFIG_BRIDGE_NETFILTER=y
- +
- +#
- +# Core Netfilter Configuration
- +#
- +CONFIG_NETFILTER_NETLINK=m
- +CONFIG_NETFILTER_NETLINK_QUEUE=m
- +CONFIG_NETFILTER_NETLINK_LOG=m
- +CONFIG_NF_CONNTRACK=m
- +CONFIG_NF_CT_ACCT=y
- +CONFIG_NF_CONNTRACK_MARK=y
- +CONFIG_NF_CONNTRACK_SECMARK=y
- +CONFIG_NF_CONNTRACK_EVENTS=y
- +CONFIG_NF_CT_PROTO_DCCP=m
- +CONFIG_NF_CT_PROTO_GRE=m
- +CONFIG_NF_CT_PROTO_SCTP=m
- +CONFIG_NF_CT_PROTO_UDPLITE=m
- +CONFIG_NF_CONNTRACK_AMANDA=m
- +CONFIG_NF_CONNTRACK_FTP=m
- +CONFIG_NF_CONNTRACK_H323=m
- +CONFIG_NF_CONNTRACK_IRC=m
- +CONFIG_NF_CONNTRACK_NETBIOS_NS=m
- +CONFIG_NF_CONNTRACK_PPTP=m
- +# CONFIG_NF_CONNTRACK_SANE is not set
- +CONFIG_NF_CONNTRACK_SIP=m
- +CONFIG_NF_CONNTRACK_TFTP=m
- +CONFIG_NF_CT_NETLINK=m
- +# CONFIG_NETFILTER_TPROXY is not set
- +CONFIG_NETFILTER_XTABLES=m
- +CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
- +CONFIG_NETFILTER_XT_TARGET_CONNMARK=m
- +CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=m
- +CONFIG_NETFILTER_XT_TARGET_DSCP=m
- +CONFIG_NETFILTER_XT_TARGET_MARK=m
- +CONFIG_NETFILTER_XT_TARGET_NFLOG=m
- +CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
- +CONFIG_NETFILTER_XT_TARGET_NOTRACK=m
- +# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set
- +CONFIG_NETFILTER_XT_TARGET_TRACE=m
- +CONFIG_NETFILTER_XT_TARGET_SECMARK=m
- +CONFIG_NETFILTER_XT_TARGET_TCPMSS=m
- +# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set
- +CONFIG_NETFILTER_XT_MATCH_COMMENT=m
- +CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m
- +CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m
- +CONFIG_NETFILTER_XT_MATCH_CONNMARK=m
- +CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
- +CONFIG_NETFILTER_XT_MATCH_DCCP=m
- +CONFIG_NETFILTER_XT_MATCH_DSCP=m
- +CONFIG_NETFILTER_XT_MATCH_ESP=m
- +CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m
- +CONFIG_NETFILTER_XT_MATCH_HELPER=m
- +# CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set
- +CONFIG_NETFILTER_XT_MATCH_LENGTH=m
- +CONFIG_NETFILTER_XT_MATCH_LIMIT=m
- +CONFIG_NETFILTER_XT_MATCH_MAC=m
- +CONFIG_NETFILTER_XT_MATCH_MARK=m
- +CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m
- +# CONFIG_NETFILTER_XT_MATCH_OWNER is not set
- +CONFIG_NETFILTER_XT_MATCH_POLICY=m
- +CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m
- +CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m
- +CONFIG_NETFILTER_XT_MATCH_QUOTA=m
- +# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set
- +CONFIG_NETFILTER_XT_MATCH_REALM=m
- +# CONFIG_NETFILTER_XT_MATCH_RECENT is not set
- +CONFIG_NETFILTER_XT_MATCH_SCTP=m
- +CONFIG_NETFILTER_XT_MATCH_STATE=m
- +CONFIG_NETFILTER_XT_MATCH_STATISTIC=m
- +CONFIG_NETFILTER_XT_MATCH_STRING=m
- +CONFIG_NETFILTER_XT_MATCH_TCPMSS=m
- +CONFIG_NETFILTER_XT_MATCH_TIME=m
- +CONFIG_NETFILTER_XT_MATCH_U32=m
- +CONFIG_IP_VS=m
- +# CONFIG_IP_VS_IPV6 is not set
- +# CONFIG_IP_VS_DEBUG is not set
- +CONFIG_IP_VS_TAB_BITS=12
- +
- +#
- +# IPVS transport protocol load balancing support
- +#
- +CONFIG_IP_VS_PROTO_TCP=y
- +CONFIG_IP_VS_PROTO_UDP=y
- +CONFIG_IP_VS_PROTO_AH_ESP=y
- +CONFIG_IP_VS_PROTO_ESP=y
- +CONFIG_IP_VS_PROTO_AH=y
- +
- +#
- +# IPVS scheduler
- +#
- +CONFIG_IP_VS_RR=m
- +CONFIG_IP_VS_WRR=m
- +CONFIG_IP_VS_LC=m
- +CONFIG_IP_VS_WLC=m
- +CONFIG_IP_VS_LBLC=m
- +CONFIG_IP_VS_LBLCR=m
- +CONFIG_IP_VS_DH=m
- +CONFIG_IP_VS_SH=m
- +CONFIG_IP_VS_SED=m
- +CONFIG_IP_VS_NQ=m
- +
- +#
- +# IPVS application helper
- +#
- +CONFIG_IP_VS_FTP=m
- +
- +#
- +# IP: Netfilter Configuration
- +#
- +CONFIG_NF_DEFRAG_IPV4=m
- +CONFIG_NF_CONNTRACK_IPV4=m
- +CONFIG_NF_CONNTRACK_PROC_COMPAT=y
- +CONFIG_IP_NF_QUEUE=m
- +CONFIG_IP_NF_IPTABLES=m
- +CONFIG_IP_NF_MATCH_ADDRTYPE=m
- +CONFIG_IP_NF_MATCH_AH=m
- +CONFIG_IP_NF_MATCH_ECN=m
- +CONFIG_IP_NF_MATCH_TTL=m
- +CONFIG_IP_NF_FILTER=m
- +CONFIG_IP_NF_TARGET_REJECT=m
- +CONFIG_IP_NF_TARGET_LOG=m
- +CONFIG_IP_NF_TARGET_ULOG=m
- +CONFIG_NF_NAT=m
- +CONFIG_NF_NAT_NEEDED=y
- +CONFIG_IP_NF_TARGET_MASQUERADE=m
- +CONFIG_IP_NF_TARGET_NETMAP=m
- +CONFIG_IP_NF_TARGET_REDIRECT=m
- +CONFIG_NF_NAT_SNMP_BASIC=m
- +CONFIG_NF_NAT_PROTO_DCCP=m
- +CONFIG_NF_NAT_PROTO_GRE=m
- +CONFIG_NF_NAT_PROTO_UDPLITE=m
- +CONFIG_NF_NAT_PROTO_SCTP=m
- +CONFIG_NF_NAT_FTP=m
- +CONFIG_NF_NAT_IRC=m
- +CONFIG_NF_NAT_TFTP=m
- +CONFIG_NF_NAT_AMANDA=m
- +CONFIG_NF_NAT_PPTP=m
- +CONFIG_NF_NAT_H323=m
- +CONFIG_NF_NAT_SIP=m
- +CONFIG_IP_NF_MANGLE=m
- +CONFIG_IP_NF_TARGET_CLUSTERIP=m
- +CONFIG_IP_NF_TARGET_ECN=m
- +CONFIG_IP_NF_TARGET_TTL=m
- +CONFIG_IP_NF_RAW=m
- +# CONFIG_IP_NF_SECURITY is not set
- +CONFIG_IP_NF_ARPTABLES=m
- +CONFIG_IP_NF_ARPFILTER=m
- +CONFIG_IP_NF_ARP_MANGLE=m
- +
- +#
- +# IPv6: Netfilter Configuration
- +#
- +CONFIG_NF_CONNTRACK_IPV6=m
- +CONFIG_IP6_NF_QUEUE=m
- +CONFIG_IP6_NF_IPTABLES=m
- +CONFIG_IP6_NF_MATCH_AH=m
- +CONFIG_IP6_NF_MATCH_EUI64=m
- +CONFIG_IP6_NF_MATCH_FRAG=m
- +CONFIG_IP6_NF_MATCH_OPTS=m
- +CONFIG_IP6_NF_MATCH_HL=m
- +CONFIG_IP6_NF_MATCH_IPV6HEADER=m
- +CONFIG_IP6_NF_MATCH_MH=m
- +CONFIG_IP6_NF_MATCH_RT=m
- +CONFIG_IP6_NF_TARGET_LOG=m
- +CONFIG_IP6_NF_FILTER=m
- +CONFIG_IP6_NF_TARGET_REJECT=m
- +CONFIG_IP6_NF_MANGLE=m
- +CONFIG_IP6_NF_TARGET_HL=m
- +CONFIG_IP6_NF_RAW=m
- +# CONFIG_IP6_NF_SECURITY is not set
- +
- +#
- +# DECnet: Netfilter Configuration
- +#
- +CONFIG_DECNET_NF_GRABULATOR=m
- +CONFIG_BRIDGE_NF_EBTABLES=m
- +CONFIG_BRIDGE_EBT_BROUTE=m
- +CONFIG_BRIDGE_EBT_T_FILTER=m
- +CONFIG_BRIDGE_EBT_T_NAT=m
- +CONFIG_BRIDGE_EBT_802_3=m
- +CONFIG_BRIDGE_EBT_AMONG=m
- +CONFIG_BRIDGE_EBT_ARP=m
- +CONFIG_BRIDGE_EBT_IP=m
- +# CONFIG_BRIDGE_EBT_IP6 is not set
- +CONFIG_BRIDGE_EBT_LIMIT=m
- +CONFIG_BRIDGE_EBT_MARK=m
- +CONFIG_BRIDGE_EBT_PKTTYPE=m
- +CONFIG_BRIDGE_EBT_STP=m
- +CONFIG_BRIDGE_EBT_VLAN=m
- +CONFIG_BRIDGE_EBT_ARPREPLY=m
- +CONFIG_BRIDGE_EBT_DNAT=m
- +CONFIG_BRIDGE_EBT_MARK_T=m
- +CONFIG_BRIDGE_EBT_REDIRECT=m
- +CONFIG_BRIDGE_EBT_SNAT=m
- +CONFIG_BRIDGE_EBT_LOG=m
- +CONFIG_BRIDGE_EBT_ULOG=m
- +# CONFIG_BRIDGE_EBT_NFLOG is not set
- +CONFIG_IP_DCCP=m
- +CONFIG_INET_DCCP_DIAG=m
- +CONFIG_IP_DCCP_ACKVEC=y
- +
- +#
- +# DCCP CCIDs Configuration (EXPERIMENTAL)
- +#
- +CONFIG_IP_DCCP_CCID2=m
- +# CONFIG_IP_DCCP_CCID2_DEBUG is not set
- +CONFIG_IP_DCCP_CCID3=m
- +# CONFIG_IP_DCCP_CCID3_DEBUG is not set
- +CONFIG_IP_DCCP_CCID3_RTO=100
- +CONFIG_IP_DCCP_TFRC_LIB=m
- +CONFIG_IP_SCTP=m
- +# CONFIG_SCTP_DBG_MSG is not set
- +# CONFIG_SCTP_DBG_OBJCNT is not set
- +# CONFIG_SCTP_HMAC_NONE is not set
- +# CONFIG_SCTP_HMAC_SHA1 is not set
- +CONFIG_SCTP_HMAC_MD5=y
- +CONFIG_TIPC=m
- +# CONFIG_TIPC_ADVANCED is not set
- +# CONFIG_TIPC_DEBUG is not set
- +CONFIG_ATM=y
- +CONFIG_ATM_CLIP=y
- +# CONFIG_ATM_CLIP_NO_ICMP is not set
- +CONFIG_ATM_LANE=m
- +CONFIG_ATM_MPOA=m
- +CONFIG_ATM_BR2684=m
- +# CONFIG_ATM_BR2684_IPFILTER is not set
- +CONFIG_STP=m
- +CONFIG_BRIDGE=m
- +# CONFIG_NET_DSA is not set
- +CONFIG_VLAN_8021Q=m
- +# CONFIG_VLAN_8021Q_GVRP is not set
- +CONFIG_DECNET=m
- +# CONFIG_DECNET_ROUTER is not set
- +CONFIG_LLC=m
- +CONFIG_LLC2=m
- +CONFIG_IPX=m
- +# CONFIG_IPX_INTERN is not set
- +CONFIG_ATALK=m
- +CONFIG_DEV_APPLETALK=m
- +CONFIG_IPDDP=m
- +CONFIG_IPDDP_ENCAP=y
- +CONFIG_IPDDP_DECAP=y
- +CONFIG_X25=m
- +CONFIG_LAPB=m
- +CONFIG_ECONET=m
- +CONFIG_ECONET_AUNUDP=y
- +CONFIG_ECONET_NATIVE=y
- +CONFIG_WAN_ROUTER=m
- +CONFIG_NET_SCHED=y
- +
- +#
- +# Queueing/Scheduling
- +#
- +CONFIG_NET_SCH_CBQ=m
- +CONFIG_NET_SCH_HTB=m
- +CONFIG_NET_SCH_HFSC=m
- +CONFIG_NET_SCH_ATM=m
- +CONFIG_NET_SCH_PRIO=m
- +# CONFIG_NET_SCH_MULTIQ is not set
- +CONFIG_NET_SCH_RED=m
- +CONFIG_NET_SCH_SFQ=m
- +CONFIG_NET_SCH_TEQL=m
- +CONFIG_NET_SCH_TBF=m
- +CONFIG_NET_SCH_GRED=m
- +CONFIG_NET_SCH_DSMARK=m
- +CONFIG_NET_SCH_NETEM=m
- +CONFIG_NET_SCH_INGRESS=m
- +
- +#
- +# Classification
- +#
- +CONFIG_NET_CLS=y
- +CONFIG_NET_CLS_BASIC=m
- +CONFIG_NET_CLS_TCINDEX=m
- +CONFIG_NET_CLS_ROUTE4=m
- +CONFIG_NET_CLS_ROUTE=y
- +CONFIG_NET_CLS_FW=m
- +CONFIG_NET_CLS_U32=m
- +# CONFIG_CLS_U32_PERF is not set
- +CONFIG_CLS_U32_MARK=y
- +CONFIG_NET_CLS_RSVP=m
- +CONFIG_NET_CLS_RSVP6=m
- +# CONFIG_NET_CLS_FLOW is not set
- +CONFIG_NET_EMATCH=y
- +CONFIG_NET_EMATCH_STACK=32
- +CONFIG_NET_EMATCH_CMP=m
- +CONFIG_NET_EMATCH_NBYTE=m
- +CONFIG_NET_EMATCH_U32=m
- +CONFIG_NET_EMATCH_META=m
- +CONFIG_NET_EMATCH_TEXT=m
- +CONFIG_NET_CLS_ACT=y
- +CONFIG_NET_ACT_POLICE=m
- +CONFIG_NET_ACT_GACT=m
- +CONFIG_GACT_PROB=y
- +CONFIG_NET_ACT_MIRRED=m
- +CONFIG_NET_ACT_IPT=m
- +CONFIG_NET_ACT_NAT=m
- +CONFIG_NET_ACT_PEDIT=m
- +CONFIG_NET_ACT_SIMP=m
- +# CONFIG_NET_ACT_SKBEDIT is not set
- +# CONFIG_NET_CLS_IND is not set
- +CONFIG_NET_SCH_FIFO=y
- +
- +#
- +# Network testing
- +#
- +CONFIG_NET_PKTGEN=m
- +CONFIG_HAMRADIO=y
- +
- +#
- +# Packet Radio protocols
- +#
- +CONFIG_AX25=m
- +# CONFIG_AX25_DAMA_SLAVE is not set
- +CONFIG_NETROM=m
- +CONFIG_ROSE=m
- +
- +#
- +# AX.25 network device drivers
- +#
- +CONFIG_MKISS=m
- +CONFIG_6PACK=m
- +CONFIG_BPQETHER=m
- +CONFIG_BAYCOM_SER_FDX=m
- +CONFIG_BAYCOM_SER_HDX=m
- +CONFIG_YAM=m
- +# CONFIG_CAN is not set
- +CONFIG_IRDA=m
- +
- +#
- +# IrDA protocols
- +#
- +CONFIG_IRLAN=m
- +CONFIG_IRCOMM=m
- +CONFIG_IRDA_ULTRA=y
- +
- +#
- +# IrDA options
- +#
- +CONFIG_IRDA_CACHE_LAST_LSAP=y
- +CONFIG_IRDA_FAST_RR=y
- +CONFIG_IRDA_DEBUG=y
- +
- +#
- +# Infrared-port device drivers
- +#
- +
- +#
- +# SIR device drivers
- +#
- +CONFIG_IRTTY_SIR=m
- +
- +#
- +# Dongle support
- +#
- +CONFIG_DONGLE=y
- +CONFIG_ESI_DONGLE=m
- +CONFIG_ACTISYS_DONGLE=m
- +CONFIG_TEKRAM_DONGLE=m
- +# CONFIG_TOIM3232_DONGLE is not set
- +CONFIG_LITELINK_DONGLE=m
- +CONFIG_MA600_DONGLE=m
- +CONFIG_GIRBIL_DONGLE=m
- +CONFIG_MCP2120_DONGLE=m
- +CONFIG_OLD_BELKIN_DONGLE=m
- +CONFIG_ACT200L_DONGLE=m
- +
- +#
- +# FIR device drivers
- +#
- +# CONFIG_TOSHIBA_FIR is not set
- +# CONFIG_VLSI_FIR is not set
- +CONFIG_BT=m
- +CONFIG_BT_L2CAP=m
- +CONFIG_BT_SCO=m
- +CONFIG_BT_RFCOMM=m
- +CONFIG_BT_RFCOMM_TTY=y
- +CONFIG_BT_BNEP=m
- +CONFIG_BT_BNEP_MC_FILTER=y
- +CONFIG_BT_BNEP_PROTO_FILTER=y
- +CONFIG_BT_HIDP=m
- +
- +#
- +# Bluetooth device drivers
- +#
- +CONFIG_BT_HCIUART=m
- +CONFIG_BT_HCIUART_H4=y
- +CONFIG_BT_HCIUART_BCSP=y
- +CONFIG_BT_HCIUART_LL=y
- +CONFIG_BT_HCIVHCI=m
- +CONFIG_AF_RXRPC=m
- +# CONFIG_AF_RXRPC_DEBUG is not set
- +CONFIG_RXKAD=m
- +# CONFIG_PHONET is not set
- +CONFIG_FIB_RULES=y
- +CONFIG_WIRELESS=y
- +CONFIG_CFG80211=m
- +CONFIG_NL80211=y
- +CONFIG_WIRELESS_OLD_REGULATORY=y
- +CONFIG_WIRELESS_EXT=y
- +CONFIG_WIRELESS_EXT_SYSFS=y
- +CONFIG_MAC80211=m
- +
- +#
- +# Rate control algorithm selection
- +#
- +CONFIG_MAC80211_RC_PID=y
- +# CONFIG_MAC80211_RC_MINSTREL is not set
- +CONFIG_MAC80211_RC_DEFAULT_PID=y
- +# CONFIG_MAC80211_RC_DEFAULT_MINSTREL is not set
- +CONFIG_MAC80211_RC_DEFAULT="pid"
- +# CONFIG_MAC80211_MESH is not set
- +CONFIG_MAC80211_LEDS=y
- +CONFIG_MAC80211_DEBUGFS=y
- +# CONFIG_MAC80211_DEBUG_MENU is not set
- +CONFIG_IEEE80211=m
- +# CONFIG_IEEE80211_DEBUG is not set
- +CONFIG_IEEE80211_CRYPT_WEP=m
- +CONFIG_IEEE80211_CRYPT_CCMP=m
- +CONFIG_IEEE80211_CRYPT_TKIP=m
- +CONFIG_RFKILL=m
- +CONFIG_RFKILL_INPUT=m
- +CONFIG_RFKILL_LEDS=y
- +CONFIG_NET_9P=m
- +# CONFIG_NET_9P_DEBUG 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_SYS_HYPERVISOR is not set
- +# CONFIG_CONNECTOR is not set
- +# CONFIG_MTD is not set
- +# CONFIG_PARPORT is not set
- +# CONFIG_BLK_DEV is not set
- +# CONFIG_MISC_DEVICES is not set
- +CONFIG_HAVE_IDE=y
- +# CONFIG_IDE is not set
- +
- +#
- +# SCSI device support
- +#
- +CONFIG_RAID_ATTRS=m
- +CONFIG_SCSI=m
- +CONFIG_SCSI_DMA=y
- +CONFIG_SCSI_TGT=m
- +CONFIG_SCSI_NETLINK=y
- +CONFIG_SCSI_PROC_FS=y
- +
- +#
- +# SCSI support type (disk, tape, CD-ROM)
- +#
- +# CONFIG_BLK_DEV_SD is not set
- +# 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 is not set
- +# 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=m
- +CONFIG_SCSI_FC_ATTRS=m
- +CONFIG_SCSI_FC_TGT_ATTRS=y
- +CONFIG_SCSI_ISCSI_ATTRS=m
- +CONFIG_SCSI_SAS_ATTRS=m
- +CONFIG_SCSI_SAS_LIBSAS=m
- +CONFIG_SCSI_SAS_HOST_SMP=y
- +# CONFIG_SCSI_SAS_LIBSAS_DEBUG is not set
- +CONFIG_SCSI_SRP_ATTRS=m
- +CONFIG_SCSI_SRP_TGT_ATTRS=y
- +# CONFIG_SCSI_LOWLEVEL is not set
- +# CONFIG_SCSI_DH is not set
- +# CONFIG_ATA is not set
- +# CONFIG_MD is not set
- +# CONFIG_FUSION is not set
- +
- +#
- +# IEEE 1394 (FireWire) support
- +#
- +
- +#
- +# Enable only one of the two stacks, unless you know what you are doing
- +#
- +# CONFIG_FIREWIRE is not set
- +# CONFIG_IEEE1394 is not set
- +# CONFIG_I2O is not set
- +CONFIG_NETDEVICES=y
- +CONFIG_IFB=m
- +CONFIG_DUMMY=m
- +CONFIG_BONDING=m
- +CONFIG_MACVLAN=m
- +CONFIG_EQUALIZER=m
- +CONFIG_TUN=m
- +CONFIG_VETH=m
- +# CONFIG_ARCNET is not set
- +CONFIG_PHYLIB=m
- +
- +#
- +# MII PHY device drivers
- +#
- +CONFIG_MARVELL_PHY=m
- +CONFIG_DAVICOM_PHY=m
- +CONFIG_QSEMI_PHY=m
- +CONFIG_LXT_PHY=m
- +CONFIG_CICADA_PHY=m
- +CONFIG_VITESSE_PHY=m
- +CONFIG_SMSC_PHY=m
- +CONFIG_BROADCOM_PHY=m
- +CONFIG_ICPLUS_PHY=m
- +# CONFIG_REALTEK_PHY is not set
- +CONFIG_MDIO_BITBANG=m
- +CONFIG_NET_ETHERNET=y
- +CONFIG_MII=y
- +# CONFIG_AX88796 is not set
- +# CONFIG_HAPPYMEAL is not set
- +# CONFIG_SUNGEM is not set
- +# CONFIG_CASSINI is not set
- +# CONFIG_NET_VENDOR_3COM is not set
- +# CONFIG_SMC91X is not set
- +# CONFIG_DM9000 is not set
- +# CONFIG_ENC28J60 is not set
- +# CONFIG_NET_TULIP is not set
- +# CONFIG_HP100 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_NET_PCI is not set
- +# CONFIG_B44 is not set
- +# CONFIG_ATL2 is not set
- +# CONFIG_NETDEV_1000 is not set
- +# CONFIG_NETDEV_10000 is not set
- +# CONFIG_TR is not set
- +
- +#
- +# 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_ATM_DRIVERS is not set
- +# CONFIG_FDDI is not set
- +# CONFIG_HIPPI is not set
- +# CONFIG_PPP is not set
- +# CONFIG_SLIP is not set
- +# CONFIG_NET_FC 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
- +# CONFIG_PHONE is not set
- +
- +#
- +# Input device support
- +#
- +CONFIG_INPUT=y
- +CONFIG_INPUT_FF_MEMLESS=m
- +CONFIG_INPUT_POLLDEV=m
- +
- +#
- +# Userland interfaces
- +#
- +# CONFIG_INPUT_MOUSEDEV is not set
- +# 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=m
- +CONFIG_KEYBOARD_LKKBD=m
- +CONFIG_KEYBOARD_XTKBD=m
- +CONFIG_KEYBOARD_NEWTON=m
- +CONFIG_KEYBOARD_STOWAWAY=m
- +CONFIG_INPUT_MOUSE=y
- +CONFIG_MOUSE_PS2=m
- +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=m
- +CONFIG_MOUSE_VSXXXAA=m
- +# 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_I8042 is not set
- +CONFIG_SERIO_SERPORT=m
- +# CONFIG_SERIO_PCIPS2 is not set
- +CONFIG_SERIO_LIBPS2=y
- +CONFIG_SERIO_RAW=m
- +# 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=y
- +CONFIG_DEVKMEM=y
- +# CONFIG_SERIAL_NONSTANDARD is not set
- +# CONFIG_NOZOMI is not set
- +
- +#
- +# Serial drivers
- +#
- +CONFIG_SERIAL_8250=y
- +CONFIG_SERIAL_8250_CONSOLE=y
- +# CONFIG_SERIAL_8250_PCI 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_CORE=y
- +CONFIG_SERIAL_CORE_CONSOLE=y
- +# CONFIG_SERIAL_JSM is not set
- +CONFIG_UNIX98_PTYS=y
- +CONFIG_LEGACY_PTYS=y
- +CONFIG_LEGACY_PTY_COUNT=256
- +# CONFIG_IPMI_HANDLER is not set
- +# CONFIG_HW_RANDOM is not set
- +# CONFIG_R3964 is not set
- +# CONFIG_APPLICOM is not set
- +# CONFIG_RAW_DRIVER is not set
- +# CONFIG_TCG_TPM is not set
- +CONFIG_DEVPORT=y
- +CONFIG_I2C=y
- +CONFIG_I2C_BOARDINFO=y
- +CONFIG_I2C_CHARDEV=y
- +CONFIG_I2C_HELPER_AUTO=y
- +CONFIG_I2C_ALGOBIT=m
- +
- +#
- +# I2C Hardware Bus support
- +#
- +
- +#
- +# PC SMBus host controller drivers
- +#
- +# CONFIG_I2C_ALI1535 is not set
- +# CONFIG_I2C_ALI1563 is not set
- +# CONFIG_I2C_ALI15X3 is not set
- +# CONFIG_I2C_AMD756 is not set
- +# CONFIG_I2C_AMD8111 is not set
- +# CONFIG_I2C_I801 is not set
- +# CONFIG_I2C_ISCH is not set
- +# CONFIG_I2C_PIIX4 is not set
- +# CONFIG_I2C_NFORCE2 is not set
- +# CONFIG_I2C_SIS5595 is not set
- +# CONFIG_I2C_SIS630 is not set
- +# CONFIG_I2C_SIS96X is not set
- +# CONFIG_I2C_VIA is not set
- +# CONFIG_I2C_VIAPRO is not set
- +
- +#
- +# I2C system bus drivers (mostly embedded / system-on-chip)
- +#
- +CONFIG_I2C_OCORES=m
- +CONFIG_I2C_SIMTEC=m
- +
- +#
- +# External I2C/SMBus adapter drivers
- +#
- +CONFIG_I2C_PARPORT_LIGHT=m
- +CONFIG_I2C_TAOS_EVM=m
- +
- +#
- +# Graphics adapter I2C/DDC channel drivers
- +#
- +# CONFIG_I2C_VOODOO3 is not set
- +
- +#
- +# Other I2C/SMBus bus drivers
- +#
- +# CONFIG_I2C_PCA_PLATFORM is not set
- +CONFIG_I2C_STUB=m
- +
- +#
- +# Miscellaneous I2C Chip support
- +#
- +CONFIG_DS1682=m
- +# CONFIG_AT24 is not set
- +CONFIG_SENSORS_EEPROM=m
- +CONFIG_SENSORS_PCF8574=m
- +# CONFIG_PCF8575 is not set
- +CONFIG_SENSORS_PCA9539=m
- +CONFIG_SENSORS_PCF8591=m
- +CONFIG_SENSORS_MAX6875=m
- +CONFIG_SENSORS_TSL2550=m
- +# 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_MASTER=y
- +
- +#
- +# SPI Master Controller Drivers
- +#
- +CONFIG_SPI_BITBANG=y
- +
- +#
- +# SPI Protocol Masters
- +#
- +CONFIG_SPI_AT25=y
- +CONFIG_SPI_SPIDEV=y
- +# CONFIG_SPI_TLE62X0 is not set
- +CONFIG_W1=y
- +
- +#
- +# 1-wire Bus Masters
- +#
- +# CONFIG_W1_MASTER_MATROX is not set
- +CONFIG_W1_MASTER_DS2482=m
- +
- +#
- +# 1-wire Slaves
- +#
- +CONFIG_W1_SLAVE_THERM=m
- +CONFIG_W1_SLAVE_SMEM=m
- +CONFIG_W1_SLAVE_DS2433=m
- +# CONFIG_W1_SLAVE_DS2433_CRC is not set
- +CONFIG_W1_SLAVE_DS2760=m
- +# CONFIG_W1_SLAVE_BQ27000 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 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_HTC_PASIC3 is not set
- +# CONFIG_MFD_TMIO is not set
- +# CONFIG_PMIC_DA903X is not set
- +# CONFIG_MFD_WM8400 is not set
- +# CONFIG_MFD_WM8350_I2C is not set
- +# CONFIG_REGULATOR 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_DRM is not set
- +# CONFIG_VGASTATE is not set
- +# CONFIG_VIDEO_OUTPUT_CONTROL is not set
- +# CONFIG_FB is not set
- +CONFIG_BACKLIGHT_LCD_SUPPORT=y
- +# CONFIG_LCD_CLASS_DEVICE is not set
- +CONFIG_BACKLIGHT_CLASS_DEVICE=y
- +# CONFIG_BACKLIGHT_CORGI 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 is not set
- +CONFIG_HID=m
- +# CONFIG_USB_SUPPORT is not set
- +# CONFIG_UWB is not set
- +# CONFIG_MMC is not set
- +# CONFIG_MEMSTICK is not set
- +CONFIG_NEW_LEDS=y
- +CONFIG_LEDS_CLASS=y
- +
- +#
- +# LED drivers
- +#
- +# CONFIG_LEDS_PCA9532 is not set
- +# CONFIG_LEDS_PCA955X is not set
- +
- +#
- +# LED Triggers
- +#
- +CONFIG_LEDS_TRIGGERS=y
- +CONFIG_LEDS_TRIGGER_TIMER=m
- +CONFIG_LEDS_TRIGGER_HEARTBEAT=m
- +# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
- +# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
- +# CONFIG_ACCESSIBILITY is not set
- +# CONFIG_INFINIBAND is not set
- +CONFIG_RTC_LIB=y
- +# CONFIG_RTC_CLASS is not set
- +CONFIG_DMADEVICES=y
- +
- +#
- +# DMA Devices
- +#
- +# CONFIG_UIO is not set
- +# CONFIG_STAGING is not set
- +
- +#
- +# File systems
- +#
- +# CONFIG_EXT2_FS is not set
- +# CONFIG_EXT3_FS is not set
- +# CONFIG_EXT4_FS is not set
- +# 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 is not set
- +# CONFIG_INOTIFY is not set
- +# 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_KCORE=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=y
- +
- +#
- +# Miscellaneous filesystems
- +#
- +# CONFIG_ADFS_FS is not set
- +# CONFIG_AFFS_FS is not set
- +# CONFIG_ECRYPT_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 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=y
- +CONFIG_NFS_V4=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_GSS=y
- +# CONFIG_SUNRPC_REGISTER_V4 is not set
- +CONFIG_RPCSEC_GSS_KRB5=y
- +CONFIG_RPCSEC_GSS_SPKM3=y
- +# 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
- +# CONFIG_9P_FS is not set
- +
- +#
- +# Partition Types
- +#
- +# CONFIG_PARTITION_ADVANCED is not set
- +CONFIG_MSDOS_PARTITION=y
- +CONFIG_NLS=y
- +CONFIG_NLS_DEFAULT="cp437"
- +CONFIG_NLS_CODEPAGE_437=m
- +CONFIG_NLS_CODEPAGE_737=m
- +CONFIG_NLS_CODEPAGE_775=m
- +CONFIG_NLS_CODEPAGE_850=m
- +CONFIG_NLS_CODEPAGE_852=m
- +CONFIG_NLS_CODEPAGE_855=m
- +CONFIG_NLS_CODEPAGE_857=m
- +CONFIG_NLS_CODEPAGE_860=m
- +CONFIG_NLS_CODEPAGE_861=m
- +CONFIG_NLS_CODEPAGE_862=m
- +CONFIG_NLS_CODEPAGE_863=m
- +CONFIG_NLS_CODEPAGE_864=m
- +CONFIG_NLS_CODEPAGE_865=m
- +CONFIG_NLS_CODEPAGE_866=m
- +CONFIG_NLS_CODEPAGE_869=m
- +CONFIG_NLS_CODEPAGE_936=m
- +CONFIG_NLS_CODEPAGE_950=m
- +CONFIG_NLS_CODEPAGE_932=m
- +CONFIG_NLS_CODEPAGE_949=m
- +CONFIG_NLS_CODEPAGE_874=m
- +CONFIG_NLS_ISO8859_8=m
- +CONFIG_NLS_CODEPAGE_1250=m
- +CONFIG_NLS_CODEPAGE_1251=m
- +CONFIG_NLS_ASCII=m
- +CONFIG_NLS_ISO8859_1=m
- +CONFIG_NLS_ISO8859_2=m
- +CONFIG_NLS_ISO8859_3=m
- +CONFIG_NLS_ISO8859_4=m
- +CONFIG_NLS_ISO8859_5=m
- +CONFIG_NLS_ISO8859_6=m
- +CONFIG_NLS_ISO8859_7=m
- +CONFIG_NLS_ISO8859_9=m
- +CONFIG_NLS_ISO8859_13=m
- +CONFIG_NLS_ISO8859_14=m
- +CONFIG_NLS_ISO8859_15=m
- +CONFIG_NLS_KOI8_R=m
- +CONFIG_NLS_KOI8_U=m
- +CONFIG_NLS_UTF8=m
- +# CONFIG_DLM is not set
- +
- +#
- +# Kernel hacking
- +#
- +CONFIG_TRACE_IRQFLAGS_SUPPORT=y
- +CONFIG_PRINTK_TIME=y
- +# CONFIG_ENABLE_WARN_DEPRECATED is not set
- +# CONFIG_ENABLE_MUST_CHECK is not set
- +CONFIG_FRAME_WARN=1024
- +CONFIG_MAGIC_SYSRQ=y
- +CONFIG_UNUSED_SYMBOLS=y
- +CONFIG_DEBUG_FS=y
- +# CONFIG_HEADERS_CHECK is not set
- +# CONFIG_DEBUG_KERNEL is not set
- +# CONFIG_SLUB_DEBUG_ON is not set
- +# CONFIG_SLUB_STATS is not set
- +# CONFIG_DEBUG_MEMORY_INIT is not set
- +# CONFIG_RCU_CPU_STALL_DETECTOR is not set
- +# CONFIG_SYSCTL_SYSCALL_CHECK is not set
- +
- +#
- +# Tracers
- +#
- +# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
- +# CONFIG_SAMPLES is not set
- +CONFIG_HAVE_ARCH_KGDB=y
- +CONFIG_CMDLINE=""
- +
- +#
- +# Security options
- +#
- +CONFIG_KEYS=y
- +# CONFIG_KEYS_DEBUG_PROC_KEYS is not set
- +CONFIG_SECURITY=y
- +# CONFIG_SECURITYFS is not set
- +CONFIG_SECURITY_NETWORK=y
- +# CONFIG_SECURITY_NETWORK_XFRM is not set
- +# CONFIG_SECURITY_FILE_CAPABILITIES is not set
- +CONFIG_SECURITY_DEFAULT_MMAP_MIN_ADDR=0
- +CONFIG_SECURITY_SELINUX=y
- +CONFIG_SECURITY_SELINUX_BOOTPARAM=y
- +CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=0
- +CONFIG_SECURITY_SELINUX_DISABLE=y
- +CONFIG_SECURITY_SELINUX_DEVELOP=y
- +CONFIG_SECURITY_SELINUX_AVC_STATS=y
- +CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1
- +# CONFIG_SECURITY_SELINUX_ENABLE_SECMARK_DEFAULT is not set
- +# CONFIG_SECURITY_SELINUX_POLICYDB_VERSION_MAX 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_AEAD=m
- +CONFIG_CRYPTO_AEAD2=y
- +CONFIG_CRYPTO_BLKCIPHER=y
- +CONFIG_CRYPTO_BLKCIPHER2=y
- +CONFIG_CRYPTO_HASH=y
- +CONFIG_CRYPTO_HASH2=y
- +CONFIG_CRYPTO_RNG2=y
- +CONFIG_CRYPTO_MANAGER=y
- +CONFIG_CRYPTO_MANAGER2=y
- +CONFIG_CRYPTO_GF128MUL=m
- +CONFIG_CRYPTO_NULL=m
- +CONFIG_CRYPTO_CRYPTD=m
- +CONFIG_CRYPTO_AUTHENC=m
- +CONFIG_CRYPTO_TEST=m
- +
- +#
- +# 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=y
- +# CONFIG_CRYPTO_CTR is not set
- +# CONFIG_CRYPTO_CTS is not set
- +CONFIG_CRYPTO_ECB=m
- +CONFIG_CRYPTO_LRW=m
- +CONFIG_CRYPTO_PCBC=m
- +CONFIG_CRYPTO_XTS=m
- +
- +#
- +# Hash modes
- +#
- +CONFIG_CRYPTO_HMAC=y
- +CONFIG_CRYPTO_XCBC=m
- +
- +#
- +# Digest
- +#
- +CONFIG_CRYPTO_CRC32C=m
- +CONFIG_CRYPTO_MD4=m
- +CONFIG_CRYPTO_MD5=y
- +CONFIG_CRYPTO_MICHAEL_MIC=m
- +# 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=m
- +CONFIG_CRYPTO_SHA256=m
- +CONFIG_CRYPTO_SHA512=m
- +CONFIG_CRYPTO_TGR192=m
- +CONFIG_CRYPTO_WP512=m
- +
- +#
- +# Ciphers
- +#
- +CONFIG_CRYPTO_AES=m
- +CONFIG_CRYPTO_ANUBIS=m
- +CONFIG_CRYPTO_ARC4=m
- +CONFIG_CRYPTO_BLOWFISH=m
- +CONFIG_CRYPTO_CAMELLIA=m
- +CONFIG_CRYPTO_CAST5=y
- +CONFIG_CRYPTO_CAST6=m
- +CONFIG_CRYPTO_DES=y
- +CONFIG_CRYPTO_FCRYPT=m
- +CONFIG_CRYPTO_KHAZAD=m
- +# CONFIG_CRYPTO_SALSA20 is not set
- +CONFIG_CRYPTO_SEED=m
- +CONFIG_CRYPTO_SERPENT=m
- +CONFIG_CRYPTO_TEA=m
- +CONFIG_CRYPTO_TWOFISH=m
- +CONFIG_CRYPTO_TWOFISH_COMMON=m
- +
- +#
- +# Compression
- +#
- +CONFIG_CRYPTO_DEFLATE=m
- +# CONFIG_CRYPTO_LZO is not set
- +
- +#
- +# Random Number Generation
- +#
- +# CONFIG_CRYPTO_ANSI_CPRNG is not set
- +CONFIG_CRYPTO_HW=y
- +# CONFIG_CRYPTO_DEV_HIFN_795X is not set
- +
- +#
- +# Library routines
- +#
- +CONFIG_BITREVERSE=y
- +CONFIG_CRC_CCITT=m
- +CONFIG_CRC16=m
- +# CONFIG_CRC_T10DIF is not set
- +CONFIG_CRC_ITU_T=m
- +CONFIG_CRC32=y
- +CONFIG_CRC7=m
- +CONFIG_LIBCRC32C=m
- +CONFIG_AUDIT_GENERIC=y
- +CONFIG_ZLIB_INFLATE=m
- +CONFIG_ZLIB_DEFLATE=m
- +CONFIG_TEXTSEARCH=y
- +CONFIG_TEXTSEARCH_KMP=m
- +CONFIG_TEXTSEARCH_BM=m
- +CONFIG_TEXTSEARCH_FSM=m
- +CONFIG_PLIST=y
- +CONFIG_HAS_IOMEM=y
- +CONFIG_HAS_IOPORT=y
- +CONFIG_HAS_DMA=y
- diff --git a/arch/mips/include/asm/mach-cisco3600/c3600.h b/arch/mips/include/asm/mach-cisco3600/c3600.h
- new file mode 100644
- index 0000000..290b3a6
- --- /dev/null
- +++ b/arch/mips/include/asm/mach-cisco3600/c3600.h
- @@ -0,0 +1,84 @@
- +/*
- + * Cisco 3600 Series defines
- + *
- + * 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.
- + *
- + * Copyright (C) 2008 Philippe Vachon (philippe@cowpig.ca)
- + */
- +#ifndef __ASM_C3600_H
- +#define __ASM_C3600_H
- +
- +#include <linux/io.h>
- +
- +extern int c3600_board_id;
- +extern void __iomem *c3600_iofpga_loc;
- +
- +/* device addresses */
- +#define C3600_BOARD_REGS 0x1e800000ul /* The board FPGA/board registers */
- +#define C3600_BOARD_REGS_SIZE 0x0003fffful
- +
- +#define C3600_DUART 0x1e840000ul /* DUART base address */
- +#define C3600_GT64XXX 0x14000000ul /* default GT64010 MMIO address */
- +
- +#define C3600_PCI_IO 0x100000000ull /* PCI IO address base */
- +
- +/* macros for accessing IOFPGA registers */
- +#define C3600_IOFPGA_READB(reg) (readb((uint8_t *)(((char *)c3600_iofpga_loc) \
- + + (reg))))
- +#define C3600_IOFPGA_READW(reg) (readw((uint32_t *)(((char *)c3600_iofpga_loc) \
- + + (reg))))
- +
- +#define C3600_IOFPGA_WRITEB(reg, value) (writeb((uint8_t)value, \
- + (char *)(c3600_iofpga_loc + (reg))))
- +#define C3600_IOFPGA_WRITEW(reg, value) (writeb((uint32_t)value, \
- + (char *)(c3600_iofpga_loc + (reg))))
- +
- +/* board ID codes */
- +#define C3600_BRD_ID_3620 0x2
- +#define C3600_BRD_ID_3640 0x0
- +#define C3600_BRD_ID_3660 (0x3 << 5)
- +
- +/* IOFPGA Register offsets */
- +/* 0x80 for C3620, 0x00 for C3640, 0x60 for 3660 */
- +#define C3600_BOARD_ID_REG (0x30000ul)
- +
- +/* 1 for unprotected, 0 for protected */
- +#define C3600_FLASH_PROTECT_REG (0x8ul)
- +
- +/* NM Presence register - bits 1 - 6 represent presence of respectve NM */
- +#define C3600_NM_PRESENT_REG (0x10006ul)
- +#define C3600_NM_PRESENT(v, num) ((v) & (1 << ((num) - 1)))
- +
- +/* NM interrupt control registers */
- +#define C3600_NM1_INT_STATUS (0x20000ul)
- +#define C3600_NM2_INT_STATUS (0x20001ul)
- +#define C3600_NM3_INT_STATUS (0x20002ul)
- +#define C3600_NM4_INT_STATUS (0x20003ul)
- +
- +/* NM management interrupt control register */
- +#define C3600_NM_INT_CONTROL (0x20004ul)
- +
- +/* External Interrupt Register */
- +#define C3600_EXT_INT_REG 0x20006ul
- +
- +/* Platform environmental parameters */
- +#define C3600_ENVIRONMENT_REG (0x30004ul)
- +
- +#define C3600_GET_PLAT_STATUS(val, bit) ((val) & (1 << ((num) - 1)))
- +
- +#define C3600_GET_PLAT_OVERTEMP(val) (C3600_GET_PLAT_STATUS((val), 1) == 0)
- +
- +#define C3600_GET_RPS_PRESENCE(val) (C3600_GET_PLAT_STATUS((val), 5) == 0)
- +#define C3600_GET_VOLTAGE_FAIL(val) (C3600_GET_PLAT_STATUS((val), 6) == 0)
- +#define C3600_GET_THERMAL_FAIL(val) (C3600_GET_PLAT_STATUS((val), 7) != 0)
- +#define C3600_GET_DC_OUT_FAIL(val) (C3600_GET_PLAT_STATUS((val), 8) != 0)
- +
- +/* PCI I/O space */
- +#define C3600_PCI_IO 0x100000000ull
- +
- +/* Specific Board Registers */
- +#define C3600_BOARD_CONFIG (C3600_BOARD_REG)
- +
- +#endif /* __ASM_C3600_H */
- diff --git a/arch/mips/include/asm/mach-cisco3600/cpu-feature-overrides.h b/arch/mips/include/asm/mach-cisco3600/cpu-feature-overrides.h
- new file mode 100644
- index 0000000..b3314cf
- --- /dev/null
- +++ b/arch/mips/include/asm/mach-cisco3600/cpu-feature-overrides.h
- @@ -0,0 +1,56 @@
- +/*
- + * 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.
- + *
- + * Copyright (C) 2006, 07 Ralf Baechle (ralf@linux-mips.org)
- + */
- +#ifndef __ASM_COBALT_CPU_FEATURE_OVERRIDES_H
- +#define __ASM_COBALT_CPU_FEATURE_OVERRIDES_H
- +
- +
- +#define cpu_has_tlb 1
- +#define cpu_has_4kex 1
- +#define cpu_has_3k_cache 0
- +#define cpu_has_4k_cache 1
- +#define cpu_has_tx39_cache 0
- +#define cpu_has_fpu 1
- +#define cpu_has_32fpr 1
- +#define cpu_has_counter 1
- +#define cpu_has_watch 0
- +#define cpu_has_divec 1
- +#define cpu_has_vce 0
- +#define cpu_has_cache_cdex_p 0
- +#define cpu_has_cache_cdex_s 0
- +#define cpu_has_prefetch 0
- +#define cpu_has_mcheck 0
- +#define cpu_has_ejtag 0
- +
- +#define cpu_has_inclusive_pcaches 0
- +#define cpu_dcache_line_size() 32
- +#define cpu_icache_line_size() 32
- +#define cpu_scache_line_size() 0
- +
- +#ifdef CONFIG_64BIT
- +#define cpu_has_llsc 0
- +#else
- +#define cpu_has_llsc 1
- +#endif
- +
- +#define cpu_has_mips16 0
- +#define cpu_has_mdmx 0
- +#define cpu_has_mips3d 0
- +#define cpu_has_smartmips 0
- +#define cpu_has_vtag_icache 0
- +#define cpu_has_ic_fills_f_dc 0
- +#define cpu_icache_snoops_remote_store 0
- +#define cpu_has_dsp 0
- +#define cpu_has_mipsmt 0
- +#define cpu_has_userlocal 0
- +
- +#define cpu_has_mips32r1 0
- +#define cpu_has_mips32r2 0
- +#define cpu_has_mips64r1 0
- +#define cpu_has_mips64r2 0
- +
- +#endif /* __ASM_COBALT_CPU_FEATURE_OVERRIDES_H */
- diff --git a/arch/mips/include/asm/mach-cisco3600/irq.h b/arch/mips/include/asm/mach-cisco3600/irq.h
- new file mode 100644
- index 0000000..614775f
- --- /dev/null
- +++ b/arch/mips/include/asm/mach-cisco3600/irq.h
- @@ -0,0 +1,32 @@
- +/*
- + * Cisco 3600 Series IRQ definitions.
- + *
- + * 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.
- + *
- + */
- +#ifndef _ASM_C3600_IRQ_H
- +#define _ASM_C3600_IRQ_H
- +
- +/* FIXME
- + * 1 -
- + * 2 - Network I/O interrupt
- + * 3 - Network Module Management IRQ
- + * 4 - Galileo 64010 Timer Interrupt
- + * 5 - 16550 UART
- + * 6 - External IRQ
- + * 7 - CP0 counter
- + */
- + #define MIPS_CPU_IRQ_BASE 0
- +
- +#define GT641XX_CASCADE_IRQ (MIPS_CPU_IRQ_BASE + 4)
- +#define SERIAL_IRQ (MIPS_CPU_IRQ_BASE + 5)
- +
- +#define GT641XX_IRQ_BASE 24
- +
- +#include <asm/irq_gt641xx.h>
- +
- +#define NR_IRQS (GT641XX_PCI_INT3_IRQ + 1)
- +
- +#endif /* _ASM_COBALT_IRQ_H */
- diff --git a/arch/mips/include/asm/mach-cisco3600/mach-gt64120.h b/arch/mips/include/asm/mach-cisco3600/mach-gt64120.h
- new file mode 100644
- index 0000000..320965a
- --- /dev/null
- +++ b/arch/mips/include/asm/mach-cisco3600/mach-gt64120.h
- @@ -0,0 +1,31 @@
- +/*
- + * Copyright (C) 2006 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
- + * Copyright (C) 2008 Philippe Vachon <philippe@cowpig.ca>
- + *
- + * 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., 51 Franklin Street, Fifth Floor, Boston, MA
- + * 02110-1301 USA
- + */
- +#ifndef _C3600_MACH_GT64120_H
- +#define _C3600_MACH_GT64120_H
- +
- +/*
- + * The Cisco 3620/3640 use a GT64010, which according to specification is
- + * nearly identical to the GT64120 from the software perspective.
- + * The Cisco 3660 likely uses a GT64120 or similar.
- + */
- +
- +#define GT64120_BASE CKSEG1ADDR(GT_DEF_BASE)
- +
- +#endif /* _C3600_MACH_GT64120_H */
- diff --git a/arch/mips/include/asm/mach-cisco3600/war.h b/arch/mips/include/asm/mach-cisco3600/war.h
- new file mode 100644
- index 0000000..cd16f57
- --- /dev/null
- +++ b/arch/mips/include/asm/mach-cisco3600/war.h
- @@ -0,0 +1,25 @@
- +/*
- + * 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.
- + *
- + * Copyright (C) 2002, 2004, 2007 by Ralf Baechle <ralf@linux-mips.org>
- + */
- +#ifndef __ASM_MIPS_MACH_C3600_WAR_H
- +#define __ASM_MIPS_MACH_C3600_WAR_H
- +
- +#define R4600_V1_INDEX_ICACHEOP_WAR 0
- +#define R4600_V1_HIT_CACHEOP_WAR 0
- +#define R4600_V2_HIT_CACHEOP_WAR 0
- +#define R5432_CP0_INTERRUPT_WAR 0
- +#define BCM1250_M3_WAR 0
- +#define SIBYTE_1956_WAR 0
- +#define MIPS4K_ICACHE_REFILL_WAR 0
- +#define MIPS_CACHE_SYNC_WAR 0
- +#define TX49XX_ICACHE_INDEX_INV_WAR 0
- +#define RM9000_CDEX_SMP_WAR 0
- +#define ICACHE_REFILLS_WORKAROUND_WAR 0
- +#define R10000_LLSC_WAR 0
- +#define MIPS34K_MISSED_ITLB_WAR 0
- +
- +#endif /* __ASM_MIPS_MACH_C3600_WAR_H */
- diff --git a/arch/mips/pci/Makefile b/arch/mips/pci/Makefile
- index e8a97f5..d4e299f 100644
- --- a/arch/mips/pci/Makefile
- +++ b/arch/mips/pci/Makefile
- @@ -23,6 +23,7 @@ obj-$(CONFIG_BCM47XX) += pci-bcm47xx.o
- obj-$(CONFIG_BASLER_EXCITE) += ops-titan.o pci-excite.o fixup-excite.o
- obj-$(CONFIG_LASAT) += pci-lasat.o
- obj-$(CONFIG_MIPS_COBALT) += fixup-cobalt.o
- +obj-$(CONFIG_CISCO_3600) += fixup-c3600.o
- obj-$(CONFIG_SOC_AU1500) += fixup-au1000.o ops-au1000.o
- obj-$(CONFIG_SOC_AU1550) += fixup-au1000.o ops-au1000.o
- obj-$(CONFIG_SOC_PNX8550) += fixup-pnx8550.o ops-pnx8550.o
- diff --git a/arch/mips/pci/fixup-c3600.c b/arch/mips/pci/fixup-c3600.c
- new file mode 100644
- index 0000000..aa31be0
- --- /dev/null
- +++ b/arch/mips/pci/fixup-c3600.c
- @@ -0,0 +1,52 @@
- +/*
- + *
- + * 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.
- + *
- + */
- +#include <linux/types.h>
- +#include <linux/pci.h>
- +#include <linux/kernel.h>
- +#include <linux/init.h>
- +
- +#include <asm/pci.h>
- +#include <asm/io.h>
- +#include <asm/gt64120.h>
- +
- +#include <c3600.h>
- +#include <irq.h>
- +
- +/*
- + * PCI slot numbers
- + */
- +#define C3600_PCICONF_CPU 0x06
- +
- +static void c3600_galileo_early_fixup(struct pci_dev *dev)
- +{
- + if (dev->devfn == PCI_DEVFN(0, 0) &&
- + (dev->class >> 8) == PCI_CLASS_MEMORY_OTHER) {
- +
- + dev->class = (PCI_CLASS_BRIDGE_HOST << 8) | (dev->class & 0xff);
- +
- + printk(KERN_INFO "Galileo: fixed bridge class\n");
- + }
- +}
- +
- +DECLARE_PCI_FIXUP_EARLY(0x11ab, 0x0146,
- + c3600_galileo_early_fixup);
- +
- +static char irq_tab_c3600[] __initdata = {
- + [C3600_PCICONF_CPU] = 0,
- +};
- +
- +int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
- +{
- + return irq_tab_c3600[slot];
- +}
- +
- +/* Do platform specific device initialization at pci_enable_device() time */
- +int pcibios_plat_dev_init(struct pci_dev *dev)
- +{
- + return 0;
- +}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement