Path: blob/master/arch/powerpc/platforms/cell/celleb_pci.h
10818 views
/*1* pci prototypes for Celleb platform2*3* (C) Copyright 2006-2007 TOSHIBA CORPORATION4*5* This program is free software; you can redistribute it and/or modify6* it under the terms of the GNU General Public License as published by7* the Free Software Foundation; either version 2 of the License, or8* (at your option) any later version.9*10* This program is distributed in the hope that it will be useful,11* but WITHOUT ANY WARRANTY; without even the implied warranty of12* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the13* GNU General Public License for more details.14*15* You should have received a copy of the GNU General Public License along16* with this program; if not, write to the Free Software Foundation, Inc.,17* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.18*/1920#ifndef _CELLEB_PCI_H21#define _CELLEB_PCI_H2223#include <linux/pci.h>2425#include <asm/pci-bridge.h>26#include <asm/prom.h>27#include <asm/ppc-pci.h>28#include <asm/io-workarounds.h>2930struct iowa_bus;3132struct celleb_phb_spec {33int (*setup)(struct device_node *, struct pci_controller *);34struct ppc_pci_io *ops;35int (*iowa_init)(struct iowa_bus *, void *);36void *iowa_data;37};3839extern int celleb_setup_phb(struct pci_controller *);40extern int celleb_pci_probe_mode(struct pci_bus *);4142extern struct celleb_phb_spec celleb_epci_spec;43extern struct celleb_phb_spec celleb_pciex_spec;4445#endif /* _CELLEB_PCI_H */464748