diff options
author | Ishizaki Kou <kou.ishizaki@toshiba.co.jp> | 2007-01-11 20:03:28 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-01-24 05:35:45 -0500 |
commit | 551a3d87856c67248f9e467a7984865eee4bb0b1 (patch) | |
tree | 6d1e5ce95b83fbf0c1e888b066c33f38c475dd3f /arch/powerpc/platforms/celleb/pci.h | |
parent | 983e3f6027374bc8b63f05422d281e0d1f2c37f7 (diff) |
[POWERPC] Celleb: Support PCI bus and base of I/O
This patch includes support for pci buses, base of Celleb specific
devices, and etc. It works on of_platform bus.
Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/celleb/pci.h')
-rw-r--r-- | arch/powerpc/platforms/celleb/pci.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/celleb/pci.h b/arch/powerpc/platforms/celleb/pci.h new file mode 100644 index 0000000000..5340e348e2 --- /dev/null +++ b/arch/powerpc/platforms/celleb/pci.h | |||
@@ -0,0 +1,35 @@ | |||
1 | /* | ||
2 | * pci prototypes for Celleb platform | ||
3 | * | ||
4 | * (C) Copyright 2006-2007 TOSHIBA CORPORATION | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License along | ||
17 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
18 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
19 | */ | ||
20 | |||
21 | #ifndef _CELLEB_PCI_H | ||
22 | #define _CELLEB_PCI_H | ||
23 | |||
24 | #include <linux/pci.h> | ||
25 | |||
26 | #include <asm/pci-bridge.h> | ||
27 | #include <asm/prom.h> | ||
28 | |||
29 | extern int celleb_setup_phb(struct pci_controller *); | ||
30 | extern int celleb_pci_probe_mode(struct pci_bus *); | ||
31 | |||
32 | extern struct pci_ops celleb_epci_ops; | ||
33 | extern int celleb_setup_epci(struct device_node *, struct pci_controller *); | ||
34 | |||
35 | #endif /* _CELLEB_PCI_H */ | ||