Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Speech Design Integrated Voicemail board specific definitions |
| 3 | * - IVMS8 (small, 8 channels) |
| 4 | * - IVML24 (large, 24 channels) |
| 5 | * |
| 6 | * In 2.5 when we force a new bootloader, we can merge these two, and add |
| 7 | * in _MACH_'s for them. -- Tom |
| 8 | * |
| 9 | * Copyright (c) 2000, 2001 Wolfgang Denk (wd@denx.de) |
| 10 | */ |
| 11 | |
| 12 | #ifdef __KERNEL__ |
| 13 | #ifndef __ASM_IVMS8_H__ |
| 14 | #define __ASM_IVMS8_H__ |
| 15 | |
| 16 | #include <linux/config.h> |
| 17 | |
| 18 | #include <asm/ppcboot.h> |
| 19 | |
| 20 | #define IVMS_IMMR_BASE 0xFFF00000 /* phys. addr of IMMR */ |
| 21 | #define IVMS_IMAP_SIZE (64 * 1024) /* size of mapped area */ |
| 22 | |
| 23 | #define IMAP_ADDR IVMS_IMMR_BASE /* phys. base address of IMMR area */ |
| 24 | #define IMAP_SIZE IVMS_IMAP_SIZE /* mapped size of IMMR area */ |
| 25 | |
| 26 | #define PCMCIA_MEM_ADDR ((uint)0xFE100000) |
| 27 | #define PCMCIA_MEM_SIZE ((uint)(64 * 1024)) |
| 28 | |
| 29 | #define FEC_INTERRUPT 9 /* = SIU_LEVEL4 */ |
| 30 | #define IDE0_INTERRUPT 10 /* = IRQ5 */ |
| 31 | #define CPM_INTERRUPT 11 /* = SIU_LEVEL5 (was: SIU_LEVEL2) */ |
| 32 | #define PHY_INTERRUPT 12 /* = IRQ6 */ |
| 33 | |
| 34 | /* override the default number of IDE hardware interfaces */ |
| 35 | #define MAX_HWIFS 1 |
| 36 | |
| 37 | /* |
| 38 | * Definitions for IDE0 Interface |
| 39 | */ |
| 40 | #define IDE0_BASE_OFFSET 0x0000 /* Offset in PCMCIA memory */ |
| 41 | #define IDE0_DATA_REG_OFFSET 0x0000 |
| 42 | #define IDE0_ERROR_REG_OFFSET 0x0081 |
| 43 | #define IDE0_NSECTOR_REG_OFFSET 0x0082 |
| 44 | #define IDE0_SECTOR_REG_OFFSET 0x0083 |
| 45 | #define IDE0_LCYL_REG_OFFSET 0x0084 |
| 46 | #define IDE0_HCYL_REG_OFFSET 0x0085 |
| 47 | #define IDE0_SELECT_REG_OFFSET 0x0086 |
| 48 | #define IDE0_STATUS_REG_OFFSET 0x0087 |
| 49 | #define IDE0_CONTROL_REG_OFFSET 0x0106 |
| 50 | #define IDE0_IRQ_REG_OFFSET 0x000A /* not used */ |
| 51 | |
| 52 | /* We don't use the 8259. */ |
| 53 | #define NR_8259_INTS 0 |
| 54 | |
| 55 | #endif /* __ASM_IVMS8_H__ */ |
| 56 | #endif /* __KERNEL__ */ |