spi-topcliff-pch: add recovery processing in case wait-event timeout
[zen-stable.git] / arch / mips / include / asm / vr41xx / tb0219.h
blobc78e8243b447e3b4fde3d697d58be19d125a6c45
1 /*
2 * tb0219.h, Include file for TANBAC TB0219.
4 * Copyright (C) 2002-2004 Yoichi Yuasa <yuasa@linux-mips.org>
6 * Modified for TANBAC TB0219:
7 * Copyright (C) 2003 Megasolution Inc. <matsu@megasolution.jp>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 #ifndef __TANBAC_TB0219_H
24 #define __TANBAC_TB0219_H
26 #include <asm/vr41xx/irq.h>
29 * General-Purpose I/O Pin Number
31 #define TB0219_PCI_SLOT1_PIN 2
32 #define TB0219_PCI_SLOT2_PIN 3
33 #define TB0219_PCI_SLOT3_PIN 4
36 * Interrupt Number
38 #define TB0219_PCI_SLOT1_IRQ GIU_IRQ(TB0219_PCI_SLOT1_PIN)
39 #define TB0219_PCI_SLOT2_IRQ GIU_IRQ(TB0219_PCI_SLOT2_PIN)
40 #define TB0219_PCI_SLOT3_IRQ GIU_IRQ(TB0219_PCI_SLOT3_PIN)
42 #endif /* __TANBAC_TB0219_H */