pci.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #ifndef _ASM_M68K_PCI_H
  2. #define _ASM_M68K_PCI_H
  3. /*
  4. * asm-m68k/pci_m68k.h - m68k specific PCI declarations.
  5. *
  6. * Written by Wout Klaren.
  7. */
  8. #include <asm/scatterlist.h>
  9. struct pci_ops;
  10. /*
  11. * Structure with hardware dependent information and functions of the
  12. * PCI bus.
  13. */
  14. struct pci_bus_info
  15. {
  16. /*
  17. * Resources of the PCI bus.
  18. */
  19. struct resource mem_space;
  20. struct resource io_space;
  21. /*
  22. * System dependent functions.
  23. */
  24. struct pci_ops *m68k_pci_ops;
  25. void (*fixup)(int pci_modify);
  26. void (*conf_device)(struct pci_dev *dev);
  27. };
  28. #define pcibios_assign_all_busses() 0
  29. #define pcibios_scan_all_fns(a, b) 0
  30. static inline void pcibios_set_master(struct pci_dev *dev)
  31. {
  32. /* No special bus mastering setup handling */
  33. }
  34. static inline void pcibios_penalize_isa_irq(int irq, int active)
  35. {
  36. /* We don't do dynamic PCI IRQ allocation */
  37. }
  38. /* The PCI address space does equal the physical memory
  39. * address space. The networking and block device layers use
  40. * this boolean for bounce buffer decisions.
  41. */
  42. #define PCI_DMA_BUS_IS_PHYS (1)
  43. #endif /* _ASM_M68K_PCI_H */