treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / mips / include / asm / txx9 / pci.h
blob3d32529060aaf999090253b3b86b117364e5204b
1 /*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 */
6 #ifndef __ASM_TXX9_PCI_H
7 #define __ASM_TXX9_PCI_H
9 #include <linux/pci.h>
11 extern struct pci_controller txx9_primary_pcic;
12 struct pci_controller *
13 txx9_alloc_pci_controller(struct pci_controller *pcic,
14 unsigned long mem_base, unsigned long mem_size,
15 unsigned long io_base, unsigned long io_size);
17 int txx9_pci66_check(struct pci_controller *hose, int top_bus,
18 int current_bus);
19 extern int txx9_pci_mem_high __initdata;
21 extern int txx9_pci_option;
22 #define TXX9_PCI_OPT_PICMG 0x0002
23 #define TXX9_PCI_OPT_CLK_33 0x0008
24 #define TXX9_PCI_OPT_CLK_66 0x0010
25 #define TXX9_PCI_OPT_CLK_MASK \
26 (TXX9_PCI_OPT_CLK_33 | TXX9_PCI_OPT_CLK_66)
27 #define TXX9_PCI_OPT_CLK_AUTO TXX9_PCI_OPT_CLK_MASK
29 enum txx9_pci_err_action {
30 TXX9_PCI_ERR_REPORT,
31 TXX9_PCI_ERR_IGNORE,
32 TXX9_PCI_ERR_PANIC,
34 extern enum txx9_pci_err_action txx9_pci_err_action;
36 extern char * (*txx9_board_pcibios_setup)(char *str);
37 char *txx9_pcibios_setup(char *str);
39 #endif /* __ASM_TXX9_PCI_H */