aboutsummaryrefslogtreecommitdiffstats
path: root/arch/frv/mb93090-mb00/pci-frv.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /arch/frv/mb93090-mb00/pci-frv.h
Linux-2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'arch/frv/mb93090-mb00/pci-frv.h')
-rw-r--r--arch/frv/mb93090-mb00/pci-frv.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/arch/frv/mb93090-mb00/pci-frv.h b/arch/frv/mb93090-mb00/pci-frv.h
new file mode 100644
index 00000000000..7481797ab38
--- /dev/null
+++ b/arch/frv/mb93090-mb00/pci-frv.h
@@ -0,0 +1,47 @@
1/*
2 * Low-Level PCI Access for FRV machines.
3 *
4 * (c) 1999 Martin Mares <mj@ucw.cz>
5 */
6
7#include <asm/sections.h>
8
9#undef DEBUG
10
11#ifdef DEBUG
12#define DBG(x...) printk(x)
13#else
14#define DBG(x...)
15#endif
16
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
26
27extern unsigned int __nongpreldata pci_probe;
28
29/* pci-frv.c */
30
31extern unsigned int pcibios_max_latency;
32
33void pcibios_resource_survey(void);
34int pcibios_enable_resources(struct pci_dev *, int);
35
36/* pci-vdk.c */
37
38extern int __nongpreldata pcibios_last_bus;
39extern struct pci_bus *__nongpreldata pci_root_bus;
40extern struct pci_ops *__nongpreldata pci_root_ops;
41
42/* pci-irq.c */
43extern unsigned int pcibios_irq_mask;
44
45void pcibios_irq_init(void);
46void pcibios_fixup_irqs(void);
47void pcibios_enable_irq(struct pci_dev *dev);