treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / xtensa / platforms / xt2000 / include / platform / hardware.h
blob9f213f5733306bf8475d8e38a678e39d5d604bad
1 /*
2 * platform/hardware.h
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
6 * for more details.
8 * Copyright (C) 2001 Tensilica Inc.
9 */
12 * This file contains the hardware configuration of the XT2000 board.
15 #ifndef _XTENSA_XT2000_HARDWARE_H
16 #define _XTENSA_XT2000_HARDWARE_H
18 #include <asm/core.h>
21 * On-board components.
24 #define SONIC83934_INTNUM XCHAL_EXTINT3_NUM
25 #define SONIC83934_ADDR IOADDR(0x0d030000)
28 * V3-PCI
31 /* The XT2000 uses the V3 as a cascaded interrupt controller for the PCI bus */
33 #define IRQ_PCI_A (XCHAL_NUM_INTERRUPTS + 0)
34 #define IRQ_PCI_B (XCHAL_NUM_INTERRUPTS + 1)
35 #define IRQ_PCI_C (XCHAL_NUM_INTERRUPTS + 2)
38 * Various other components.
41 #define XT2000_LED_ADDR IOADDR(0x0d040000)
43 #endif /* _XTENSA_XT2000_HARDWARE_H */