2 * Low-Level PCI Access for FRV machines.
4 * (c) 1999 Martin Mares <mj@ucw.cz>
7 #include <asm/sections.h>
12 #define DBG(x...) printk(x)
17 #define PCI_PROBE_BIOS 0x0001
18 #define PCI_PROBE_CONF1 0x0002
19 #define PCI_PROBE_CONF2 0x0004
20 #define PCI_NO_SORT 0x0100
21 #define PCI_BIOS_SORT 0x0200
22 #define PCI_NO_CHECKS 0x0400
23 #define PCI_ASSIGN_ROMS 0x1000
24 #define PCI_BIOS_IRQ_SCAN 0x2000
25 #define PCI_ASSIGN_ALL_BUSSES 0x4000
27 extern unsigned int __nongpreldata pci_probe
;
31 extern unsigned int pcibios_max_latency
;
33 void pcibios_resource_survey(void);
34 int pcibios_enable_resources(struct pci_dev
*, int);
38 extern int __nongpreldata pcibios_last_bus
;
39 extern struct pci_bus
*__nongpreldata pci_root_bus
;
40 extern struct pci_ops
*__nongpreldata pci_root_ops
;
43 extern unsigned int pcibios_irq_mask
;
45 void pcibios_irq_init(void);
46 void pcibios_fixup_irqs(void);
47 void pcibios_enable_irq(struct pci_dev
*dev
);