pci-frv.h 860 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * Low-Level PCI Access for FRV machines.
  3. *
  4. * (c) 1999 Martin Mares <mj@ucw.cz>
  5. */
  6. #include <asm/sections.h>
  7. #undef DEBUG
  8. #ifdef DEBUG
  9. #define DBG(x...) printk(x)
  10. #else
  11. #define DBG(x...)
  12. #endif
  13. #define PCI_PROBE_BIOS 0x0001
  14. #define PCI_PROBE_CONF1 0x0002
  15. #define PCI_PROBE_CONF2 0x0004
  16. #define PCI_NO_CHECKS 0x0400
  17. #define PCI_ASSIGN_ROMS 0x1000
  18. #define PCI_BIOS_IRQ_SCAN 0x2000
  19. #define PCI_ASSIGN_ALL_BUSSES 0x4000
  20. extern unsigned int __nongpreldata pci_probe;
  21. /* pci-frv.c */
  22. void pcibios_resource_survey(void);
  23. /* pci-vdk.c */
  24. extern int __nongpreldata pcibios_last_bus;
  25. extern struct pci_bus *__nongpreldata pci_root_bus;
  26. extern struct pci_ops *__nongpreldata pci_root_ops;
  27. /* pci-irq.c */
  28. extern unsigned int pcibios_irq_mask;
  29. void pcibios_irq_init(void);
  30. void pcibios_fixup_irqs(void);
  31. void pcibios_enable_irq(struct pci_dev *dev);