.. | .. |
---|
39 | 39 | struct vm_area_struct *vma, |
---|
40 | 40 | enum pci_mmap_state mmap_state); |
---|
41 | 41 | |
---|
42 | | -#define pci_get_legacy_mem platform_pci_get_legacy_mem |
---|
43 | | -#define pci_legacy_read platform_pci_legacy_read |
---|
44 | | -#define pci_legacy_write platform_pci_legacy_write |
---|
| 42 | +char *pci_get_legacy_mem(struct pci_bus *bus); |
---|
| 43 | +int pci_legacy_read(struct pci_bus *bus, u16 port, u32 *val, u8 size); |
---|
| 44 | +int pci_legacy_write(struct pci_bus *bus, u16 port, u32 val, u8 size); |
---|
45 | 45 | |
---|
46 | 46 | struct pci_controller { |
---|
47 | 47 | struct acpi_device *companion; |
---|
.. | .. |
---|
69 | 69 | return channel ? isa_irq_to_vector(15) : isa_irq_to_vector(14); |
---|
70 | 70 | } |
---|
71 | 71 | |
---|
72 | | -#ifdef CONFIG_INTEL_IOMMU |
---|
73 | | -extern void pci_iommu_alloc(void); |
---|
74 | | -#endif |
---|
75 | 72 | #endif /* _ASM_IA64_PCI_H */ |
---|