]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/linux/nslu2-kernel/2.6.14/50-nslu2-include.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / linux / nslu2-kernel / 2.6.14 / 50-nslu2-include.patch
1 --- linux-2.6.14-rc2/include/asm-arm/arch-ixp4xx/nslu2.h        1970-01-01 01:00:00.000000000 +0100
2 +++ test3/include/asm-arm/arch-ixp4xx/nslu2.h   2005-09-24 17:46:04.000000000 +0200
3 @@ -0,0 +1,48 @@
4 +/*
5 + * include/asm-arm/arch-ixp4xx/nslu2.h
6 + *
7 + * NSLU2 platform specific definitions
8 + *
9 + * Author: Mark Rakes <mrakes AT mac.com>
10 + * Maintainers: http://www.nslu2-linux.org
11 + *
12 + * based on ixdp425.h:
13 + *     Copyright 2004 (c) MontaVista, Software, Inc.
14 + *
15 + * This file is licensed under  the terms of the GNU General Public
16 + * License version 2. This program is licensed "as is" without any
17 + * warranty of any kind, whether express or implied.
18 + */
19 +
20 +// GPIO 8 is used as the power input so is not free for use as a PCI IRQ
21 +// kas11 11-2-04
22 +
23 +#ifndef __ASM_ARCH_HARDWARE_H__
24 +#error "Do not include this directly, instead #include <asm/hardware.h>"
25 +#endif
26 +
27 +#define NSLU2_FLASH_BASE       IXP4XX_EXP_BUS_CS0_BASE_PHYS
28 +#define NSLU2_FLASH_SIZE       IXP4XX_EXP_BUS_CSX_REGION_SIZE
29 +
30 +#define NSLU2_SDA_PIN          7
31 +#define NSLU2_SCL_PIN          6
32 +
33 +/*
34 + * NSLU2 PCI IRQs
35 + */
36 +#define NSLU2_PCI_MAX_DEV      3
37 +#define NSLU2_PCI_IRQ_LINES    3
38 +
39 +
40 +/* PCI controller GPIO to IRQ pin mappings */
41 +#define NSLU2_PCI_INTA_PIN     11
42 +#define NSLU2_PCI_INTB_PIN     10
43 +#define NSLU2_PCI_INTC_PIN     9
44 +//#define NSLU2_PCI_INTD_PIN   8
45 +
46 +
47 +/* NSLU2 Timer */
48 +//#define NSLU2_FREQ 66000000
49 +//#define NSLU2_CLOCK_TICK_RATE (((NSLU2_FREQ / HZ & ~IXP4XX_OST_RELOAD_MASK) + 1) * HZ)
50 +//#define NSLU2_CLOCK_TICKS_PER_USEC ((NSLU2_CLOCK_TICK_RATE + USEC_PER_SEC/2) / USEC_PER_SEC)
51 +