Merge remote-tracking branch 'battery/master'
[linux-2.6/next.git] / arch / frv / mb93090-mb00 / pci-frv.h
blobf3fe5591479388ba6c2b3d7b6320740dfd392701
1 /*
2 * Low-Level PCI Access for FRV machines.
4 * (c) 1999 Martin Mares <mj@ucw.cz>
5 */
7 #include <asm/sections.h>
9 #undef DEBUG
11 #ifdef DEBUG
12 #define DBG(x...) printk(x)
13 #else
14 #define DBG(x...)
15 #endif
17 #define PCI_PROBE_BIOS 0x0001
18 #define PCI_PROBE_CONF1 0x0002
19 #define PCI_PROBE_CONF2 0x0004
20 #define PCI_NO_CHECKS 0x0400
21 #define PCI_ASSIGN_ROMS 0x1000
22 #define PCI_BIOS_IRQ_SCAN 0x2000
23 #define PCI_ASSIGN_ALL_BUSSES 0x4000
25 extern unsigned int __nongpreldata pci_probe;
27 /* pci-frv.c */
29 extern unsigned int pcibios_max_latency;
31 void pcibios_resource_survey(void);
33 /* pci-vdk.c */
35 extern int __nongpreldata pcibios_last_bus;
36 extern struct pci_bus *__nongpreldata pci_root_bus;
37 extern struct pci_ops *__nongpreldata pci_root_ops;
39 /* pci-irq.c */
40 extern unsigned int pcibios_irq_mask;
42 void pcibios_irq_init(void);
43 void pcibios_fixup_irqs(void);
44 void pcibios_enable_irq(struct pci_dev *dev);