1 diff -urN linux-2.6.13.1/include/asm-arm/arch-ixp4xx/nslu2.h nslu2-2.6.13.1/include/asm-arm/arch-ixp4xx/nslu2.h
2 --- linux-2.6.13.1/include/asm-arm/arch-ixp4xx/nslu2.h 1970-01-01 01:00:00.000000000 +0100
3 +++ nslu2-2.6.13.1/include/asm-arm/arch-ixp4xx/nslu2.h 2005-09-16 18:58:05.000000000 +0200
6 + * include/asm-arm/arch-ixp4xx/nslu2.h
8 + * NSLU2 platform specific definitions
10 + * Author: Mark Rakes <mrakes AT mac.com>
11 + * Maintainers: http://www.nslu2-linux.org
13 + * based on ixdp425.h:
14 + * Copyright 2004 (c) MontaVista, Software, Inc.
16 + * This file is licensed under the terms of the GNU General Public
17 + * License version 2. This program is licensed "as is" without any
18 + * warranty of any kind, whether express or implied.
21 +// GPIO 8 is used as the power input so is not free for use as a PCI IRQ
24 +#ifndef __ASM_ARCH_HARDWARE_H__
25 +#error "Do not include this directly, instead #include <asm/hardware.h>"
28 +#define NSLU2_FLASH_BASE IXP4XX_EXP_BUS_CS0_BASE_PHYS
29 +#define NSLU2_FLASH_SIZE IXP4XX_EXP_BUS_CSX_REGION_SIZE
31 +#define NSLU2_SDA_PIN 7
32 +#define NSLU2_SCL_PIN 6
37 +#define NSLU2_PCI_MAX_DEV 3
38 +#define NSLU2_PCI_IRQ_LINES 3
41 +/* PCI controller GPIO to IRQ pin mappings */
42 +#define NSLU2_PCI_INTA_PIN 11
43 +#define NSLU2_PCI_INTB_PIN 10
44 +#define NSLU2_PCI_INTC_PIN 9
45 +//#define NSLU2_PCI_INTD_PIN 8