0001
0002
0003
0004
0005
0006 #ifndef __ASM_TXX9_PCI_H
0007 #define __ASM_TXX9_PCI_H
0008
0009 #include <linux/pci.h>
0010
0011 extern struct pci_controller txx9_primary_pcic;
0012 struct pci_controller *
0013 txx9_alloc_pci_controller(struct pci_controller *pcic,
0014 unsigned long mem_base, unsigned long mem_size,
0015 unsigned long io_base, unsigned long io_size);
0016
0017 int txx9_pci66_check(struct pci_controller *hose, int top_bus,
0018 int current_bus);
0019 extern int txx9_pci_mem_high __initdata;
0020
0021 extern int txx9_pci_option;
0022 #define TXX9_PCI_OPT_PICMG 0x0002
0023 #define TXX9_PCI_OPT_CLK_33 0x0008
0024 #define TXX9_PCI_OPT_CLK_66 0x0010
0025 #define TXX9_PCI_OPT_CLK_MASK \
0026 (TXX9_PCI_OPT_CLK_33 | TXX9_PCI_OPT_CLK_66)
0027 #define TXX9_PCI_OPT_CLK_AUTO TXX9_PCI_OPT_CLK_MASK
0028
0029 enum txx9_pci_err_action {
0030 TXX9_PCI_ERR_REPORT,
0031 TXX9_PCI_ERR_IGNORE,
0032 TXX9_PCI_ERR_PANIC,
0033 };
0034 extern enum txx9_pci_err_action txx9_pci_err_action;
0035
0036 extern char * (*txx9_board_pcibios_setup)(char *str);
0037 char *txx9_pcibios_setup(char *str);
0038
0039 #endif