Initial commit
[wrt350n-kernel.git] / include / asm-mips / vr41xx / tb0219.h
blobdc981b4be0a404bd0ff3090baccbcd22be8d20ed
1 /*
2 * tb0219.h, Include file for TANBAC TB0219.
4 * Copyright (C) 2002-2004 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
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 */