Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tb0219.h
Go to the documentation of this file.
1 /*
2  * tb0219.h, Include file for TANBAC TB0219.
3  *
4  * Copyright (C) 2002-2004 Yoichi Yuasa <[email protected]>
5  *
6  * Modified for TANBAC TB0219:
7  * Copyright (C) 2003 Megasolution Inc. <[email protected]>
8  *
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.
13  *
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.
18  *
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
22  */
23 #ifndef __TANBAC_TB0219_H
24 #define __TANBAC_TB0219_H
25 
26 #include <asm/vr41xx/irq.h>
27 
28 /*
29  * General-Purpose I/O Pin Number
30  */
31 #define TB0219_PCI_SLOT1_PIN 2
32 #define TB0219_PCI_SLOT2_PIN 3
33 #define TB0219_PCI_SLOT3_PIN 4
34 
35 /*
36  * Interrupt Number
37  */
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)
41 
42 #endif /* __TANBAC_TB0219_H */