Merge branch 'akpm'
[linux-2.6/next.git] / arch / powerpc / platforms / cell / celleb_pci.h
bloba801fcc5f38908b9de50f95f6af34dad9db0c762
1 /*
2 * pci prototypes for Celleb platform
4 * (C) Copyright 2006-2007 TOSHIBA CORPORATION
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.
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.
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.
21 #ifndef _CELLEB_PCI_H
22 #define _CELLEB_PCI_H
24 #include <linux/pci.h>
26 #include <asm/pci-bridge.h>
27 #include <asm/prom.h>
28 #include <asm/ppc-pci.h>
29 #include <asm/io-workarounds.h>
31 struct iowa_bus;
33 struct celleb_phb_spec {
34 int (*setup)(struct device_node *, struct pci_controller *);
35 struct ppc_pci_io *ops;
36 int (*iowa_init)(struct iowa_bus *, void *);
37 void *iowa_data;
40 extern int celleb_setup_phb(struct pci_controller *);
41 extern int celleb_pci_probe_mode(struct pci_bus *);
43 extern struct celleb_phb_spec celleb_epci_spec;
44 extern struct celleb_phb_spec celleb_pciex_spec;
46 #endif /* _CELLEB_PCI_H */