Commit | Line | Data |
---|---|---|
1a59d1b8 | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
1da177e4 LT |
2 | /* |
3 | * tb0219.h, Include file for TANBAC TB0219. | |
4 | * | |
ada8e951 | 5 | * Copyright (C) 2002-2004 Yoichi Yuasa <yuasa@linux-mips.org> |
1da177e4 LT |
6 | * |
7 | * Modified for TANBAC TB0219: | |
8 | * Copyright (C) 2003 Megasolution Inc. <matsu@megasolution.jp> | |
1da177e4 LT |
9 | */ |
10 | #ifndef __TANBAC_TB0219_H | |
11 | #define __TANBAC_TB0219_H | |
12 | ||
66151bbd | 13 | #include <asm/vr41xx/irq.h> |
1da177e4 LT |
14 | |
15 | /* | |
16 | * General-Purpose I/O Pin Number | |
17 | */ | |
18 | #define TB0219_PCI_SLOT1_PIN 2 | |
19 | #define TB0219_PCI_SLOT2_PIN 3 | |
20 | #define TB0219_PCI_SLOT3_PIN 4 | |
21 | ||
22 | /* | |
23 | * Interrupt Number | |
24 | */ | |
25 | #define TB0219_PCI_SLOT1_IRQ GIU_IRQ(TB0219_PCI_SLOT1_PIN) | |
26 | #define TB0219_PCI_SLOT2_IRQ GIU_IRQ(TB0219_PCI_SLOT2_PIN) | |
27 | #define TB0219_PCI_SLOT3_IRQ GIU_IRQ(TB0219_PCI_SLOT3_PIN) | |
28 | ||
29 | #endif /* __TANBAC_TB0219_H */ |